![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
#include "FreeRTOS.h"#include "queue.h"#include "semphr.h"#include "ci130x_scu.h"#include "ci130x_uart.h"#include "ci130x_system.h"#include "ci130x_core_eclic.h"#include "ci_debug_config.h"#include "serial.h"宏定义 | |
| #define | serINVALID_QUEUE ( ( QueueHandle_t ) 0 ) |
| #define | serNO_BLOCK ( ( TickType_t ) 0 ) |
| #define | serTX_BLOCK_TIME ( 40 / portTICK_PERIOD_MS ) |
函数 | |
| xComPortHandle | xSerialPortInitMinimal (unsigned long ulWantedBaud, unsigned portBASE_TYPE uxQueueLength) |
| signed portBASE_TYPE | xSerialGetChar (xComPortHandle pxPort, signed char *pcRxedChar, TickType_t xBlockTime) |
| void | vSerialPutString (xComPortHandle pxPort, const signed char *const pcString, unsigned short usStringLength) |
| signed portBASE_TYPE | xSerialPutChar (xComPortHandle pxPort, signed char cOutChar, TickType_t xBlockTime) |
| void | vSerialClose (xComPortHandle xPort) |
| void | vUARTInterruptHandler (void) |
变量 | |
| static QueueHandle_t | xRxedChars |
| #define serINVALID_QUEUE ( ( QueueHandle_t ) 0 ) |
| #define serNO_BLOCK ( ( TickType_t ) 0 ) |
| #define serTX_BLOCK_TIME ( 40 / portTICK_PERIOD_MS ) |
| void vSerialClose | ( | xComPortHandle | xPort | ) |
| void vSerialPutString | ( | xComPortHandle | pxPort, |
| const signed char *const | pcString, | ||
| unsigned short | usStringLength | ||
| ) |
| void vUARTInterruptHandler | ( | void | ) |
| signed portBASE_TYPE xSerialGetChar | ( | xComPortHandle | pxPort, |
| signed char * | pcRxedChar, | ||
| TickType_t | xBlockTime | ||
| ) |
| xComPortHandle xSerialPortInitMinimal | ( | unsigned long | ulWantedBaud, |
| unsigned portBASE_TYPE | uxQueueLength | ||
| ) |
| signed portBASE_TYPE xSerialPutChar | ( | xComPortHandle | pxPort, |
| signed char | cOutChar, | ||
| TickType_t | xBlockTime | ||
| ) |
|
static |
1.8.14