/* Private define ------------------------------------------------------------*/ #define TxBufferSize (countof(TxBuffer))
/* Private macro -------------------------------------------------------------*/ #define countof(a) (sizeof(a) / sizeof(*(a)))
/* Private variables ---------------------------------------------------------*/ USART_InitTypeDef USART_InitStructure; u8 TxBuffer[] = "Buffer Send from USART1 to USART2 using Flags"; u8 RxBuffer[TxBufferSize]; 这个是什么意思啊 /* Private macro -------------------------------------------------------------*/ #define countof(a) (sizeof(a) / sizeof(*(a)))
|