A N 6 9 2
Rev 0.4
67
5.4.7. UART Interface Module
The UART related source files, called 'uart.h' and 'uart.c', can be found in the /src/driver/ folder. In order to use this
module, the functionality needs to be initialized at the very beginning of the program.
Bytes can be sent and received as well and the functionality uses the uart interrupt service routine.
Function Name:
void
vHmi_ChangeBuzzState
(eHmi_BuzzStates qiBuzzState)
Description:
This function is used to change the state of the buzzer.
Input Parameter(s):
qiBuzzState : New state of the buzzer
Return Value:
None
Function Name:
void
vHmi_BuzzHandler
(void)
Description:
This function is used to handle buzzer management.
Return Value:
None
Function Name:
U8
Comm_IF_RecvUART
(U8 * byte)
Description:
This function is used to receive bytes from UART.
Output Parameter(s):
*byte Pointer to the first element of the incoming data
Return Value:
True if there is an incoming data otherwise FALSE
Function Name:
U8 Comm_IF_SendUART
(U8 byte)
Description:
This function is used to send bytes through UART.
Input Parameter(s):
byte : data to be sent
Return Value:
True if sending data completed successfully otherwise FALSE
Function Name:
void
Comm_IF_EnableUART
(void)
Description:
Enable and set the UART0 peripheral
Return Value:
None
Содержание Si4455 Series
Страница 8: ...AN692 8 Rev 0 4 Figure 6 Device Configuration Options ...
Страница 22: ...AN692 22 Rev 0 4 Figure 21 Supply Current versus Time Diagram from Shutdown to RX State ...
Страница 23: ...AN692 Rev 0 4 23 4 4 Radio Chip Waking Up Figure 22 Radio Wake Up Process ...
Страница 25: ...AN692 Rev 0 4 25 4 5 EZConfig and Configuration Options Figure 23 Radio RF Initialization Process ...
Страница 35: ...AN692 Rev 0 4 35 Figure 32 Transmission Flowchart ...
Страница 39: ...AN692 Rev 0 4 39 Figure 33 Reception Flowchart ...
Страница 41: ...AN692 Rev 0 4 41 Figure 34 Bidirectional Variable Packet Example Project Flowchart ...
Страница 47: ...AN692 Rev 0 4 47 Figure 41 Long Packet Transmission Flowchart ...
Страница 48: ...AN692 48 Rev 0 4 Figure 42 Long Packet RX Flowchart ...