You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steve Maillet edited this page Feb 28, 2016
·
1 revision
CPU USART APIs
BOOLCPU_USART_Initialize( int ComPortNum, int BaudRate, int Parity, int DataBits, int StopBits, int FlowValue );
BOOLCPU_USART_Uninitialize( int ComPortNum );
BOOLCPU_USART_TxBufferEmpty( int ComPortNum );
BOOLCPU_USART_TxShiftRegisterEmpty( int ComPortNum );
voidCPU_USART_WriteCharToTxBuffer( int ComPortNum, UINT8 c );
voidCPU_USART_TxBufferEmptyInterruptEnable( int ComPortNum, BOOL Enable );
BOOLCPU_USART_TxBufferEmptyInterruptState( int ComPortNum );
voidCPU_USART_RxBufferFullInterruptEnable( int ComPortNum, BOOL Enable );
BOOLCPU_USART_RxBufferFullInterruptState( int ComPortNum );
BOOLCPU_USART_TxHandshakeEnabledState( int comport );
voidCPU_USART_ProtectPins( int ComPortNum, BOOL On );
UINT32CPU_USART_PortsCount( );
voidCPU_USART_GetPins( int ComPortNum, GPIO_PIN& rxPin, GPIO_PIN& txPin,GPIO_PIN& ctsPin, GPIO_PIN& rtsPin );
voidCPU_USART_GetBaudrateBoundary( int ComPortNum, UINT32 & maxBaudrateHz, UINT32 & minBaudrateHz );
BOOLCPU_USART_SupportNonStandardBaudRate( int ComPortNum );
BOOLCPU_USART_IsBaudrateSupported( int ComPortNum, UINT32& BaudrateHz );