CMSIS2000
0.0.7
|
Макросы | |
#define | countof(a) (sizeof(a) / sizeof(*(a))) |
#define | RxBufferSize1 TxBufferSize2 |
#define | RxBufferSize2 TxBufferSize1 |
#define | TxBufferSize1 (countof(TxBuffer1) - 1) |
#define | TxBufferSize2 (countof(TxBuffer2) - 1) |
Перечисления | |
enum | TestStatus { FAILED = 0, PASSED = !FAILED } |
Функции | |
TestStatus | Buffercmp (uint8_t *pBuffer1, uint8_t *pBuffer2, uint16_t BufferLength) |
Compares two buffers. | |
void | GPIO_Configuration (void) |
Configures the different GPIO ports. | |
int | main (void) |
Main program. | |
void | NVIC_Configuration (void) |
Configures the nested vectored interrupt controller. | |
void | RCC_Configuration (void) |
Configures the different system clocks. |
Переменные | |
uint8_t | NbrOfDataToRead1 = RxBufferSize1 |
uint8_t | NbrOfDataToRead2 = RxBufferSize2 |
uint8_t | NbrOfDataToTransfer1 = TxBufferSize1 |
uint8_t | NbrOfDataToTransfer2 = TxBufferSize2 |
uint8_t | RxBuffer1 [RxBufferSize1] |
uint8_t | RxBuffer2 [RxBufferSize2] |
__IO uint8_t | RxCounter1 = 0x00 |
__IO uint8_t | RxCounter2 = 0x00 |
__IO TestStatus | TransferStatus1 = FAILED |
__IO TestStatus | TransferStatus2 = FAILED |
uint8_t | TxBuffer1 [] = "USART Interrupt Example: USARTy -> USARTz using Interrupt" |
uint8_t | TxBuffer2 [] = "USART Interrupt Example: USARTz -> USARTy using Interrupt" |
__IO uint8_t | TxCounter1 = 0x00 |
__IO uint8_t | TxCounter2 = 0x00 |
USART_InitTypeDef | USART_InitStructure |