|
MG32F10x Standard Peripherals Firmware Library
|
This file provides all the UART firmware functions. 更多...
函数 | |
| void | UART_DeInit (UART_TypeDef *UARTx) |
| Deinitializes the UARTx peripheral registers to their default reset values. 更多... | |
| void | UART_Init (UART_TypeDef *UARTx, UART_InitTypeDef *UART_InitStruct) |
| Initializes the UARTx peripheral according to the specified parameters in the UART_InitStruct. 更多... | |
| void | UART_StructInit (UART_InitTypeDef *UART_InitStruct) |
| Fills each UART_InitStruct member with its default value. 更多... | |
| void | UART_WriteData (UART_TypeDef *UARTx, uint16_t Data) |
| Write data to THR register or Tx FIFO. 更多... | |
| uint16_t | UART_ReadData (UART_TypeDef *UARTx) |
| Read data from RBR register or Rx FIFO. 更多... | |
| void | UART_RxFIFOThresholdConfig (UART_TypeDef *UARTx, uint8_t Threshold) |
| Configure UARTx's Rx FIFO trigger threshold. 更多... | |
| void | UART_TxFIFOThresholdConfig (UART_TypeDef *UARTx, uint8_t Threshold) |
| Configure UARTx's Tx FIFO trigger threshold. 更多... | |
| void | UART_FIFOCmd (UART_TypeDef *UARTx, FunctionalState NewState) |
| Enables or disables the UARTx's FIFO. 更多... | |
| void | UART_ResetRxFIFO (UART_TypeDef *UARTx) |
| Reset the UART's Rx FIFO. 更多... | |
| void | UART_ResetTxFIFO (UART_TypeDef *UARTx) |
| Reset the UART's Tx FIFO. 更多... | |
| void | UART_ForceBreakCmd (UART_TypeDef *UARTx, FunctionalState NewState) |
| Force the serial out to spacing state or not. 更多... | |
| void | UART_IrDACmd (UART_TypeDef *UARTx, FunctionalState NewState) |
| Enables or disables the UARTx's IrDA SIR Mode. 更多... | |
| void | UART_ProgrammableTHREModeCmd (UART_TypeDef *UARTx, FunctionalState NewState) |
| Enables or disables the UARTx's Programmable THRE Interrupt Mode. 更多... | |
| void | UART_LineStatusClearModeConfig (UART_TypeDef *UARTx, uint8_t Mode) |
| Select the method for clearing the status in the LSR register. 更多... | |
| void | UART_ITConfig (UART_TypeDef *UARTx, uint8_t UART_IT, FunctionalState NewState) |
| Enables or disables the UARTx's interrupts. 更多... | |
| uint8_t | UART_GetIntID (UART_TypeDef *UARTx) |
| Get UARTx's Interrupt ID. 更多... | |
| FlagStatus | UART_GetFlagStatus (UART_TypeDef *UARTx, uint32_t UART_FLAG) |
| Checks whether the specified UART flag is set or not. 更多... | |
| uint32_t | UART_GetLineStatus (UART_TypeDef *UARTx) |
| Get UARTx's Line status. 更多... | |
| uint32_t | UART_GetModemStatus (UART_TypeDef *UARTx) |
| Get UARTx's Modem Status. 更多... | |
| void | UART_LoopBackModeCmd (UART_TypeDef *UARTx, FunctionalState NewState) |
| Enables or disables the UARTx's LoopBack Mode. 更多... | |
| void | UART_ModemForceRtsPinState (UART_TypeDef *UARTx, SignalState NewState) |
| Control RTS Pin State. 更多... | |
This file provides all the UART firmware functions.