getsspi2.c
来自「Mplab C30编译器」· C语言 代码 · 共 19 行
C
19 行
#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include "spi.h"
/*************************************************************************************
Function Prototype : unsigned int getsSPI2(unsigned int length,unsigned int *rdptr,
unsigned int spi_data_wait);
Include : spi.h
Description : This function reads a string of data of specified length and
stores it into the location specified
Arguments : length - This is the length of the string to be received.
rdptr - This is the pointer to the location where the data
received have to be stored.
spi_data_wait - This is the time-out count for which the module
has to wait before return. If the time-out count is 慛
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?