hal_nrf_hw.c

来自「nRF24L01和nRF24LU1开发包。在C51和S12上实现。」· C语言 代码 · 共 24 行

C
24
字号
/*
 * Copyright (c) 2006 Nordic Semiconductor. All Rights Reserved.
 *
 * The information contained herein is confidential property of Nordic Semiconductor. The use,
 * copying, transfer or disclosure of such information is prohibited except by express written
 * agreement with Nordic Semiconductor.
 *
 */
/** @file
 *  C-file defining the hardware depenent interface of the nRF24l01.
 *
 *  @author Jon Helge Nistad
 *
 */

#include "nordic_types.h"
#include "hal_spi.h"

int8u hal_nrf_rw(int8u value)
{
  return hal_spi_master_read_write(value);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?