A N 6 9 2
Rev 0.4
59
5.4.2. Input Output Control Module
The IO control-related source files, called 'control_IO.h' and 'control_IO.c', can be found in the /src/drivers/ folder.
The module handles the port initializations for the physical HW platform, e.g., LEDs, push-buttons, buzzer. It can
set the state of the LEDs and read the status of the selected push-buttons.
Function Name:
void
vCio_InitIO
(void)
Description:
This function is used to initialize specific IO port for LED & PB.
Return Value:
None
Note:
It has to be called from the initialization section.
Function Name:
void
vCio_SetLed
(U8 biLedNum)
Description:
This function is used to switch the selected LED on.
Input Parameter(s):
biLedNum : Number of the LED to be switched on (1 ... 4).
Return Value:
None
Function Name:
void
vCio_ClearLed
(U8 biLedNum)
Description:
This function is used to switch the selected LED off.
Input Parameter(s):
biLedNum : Number of the LED to be switched off (1 ... 4).
Return Value:
None
Function Name:
BIT
gCio_GetPB
(U8 biPbNum)
Description:
This function is used to read the status of the selected push-button.
Input Parameter(s):
biPbNum : Number of the push-button to be switched on (1 ... 4).
Return Value:
State of the selected PB.
Summary of Contents for Si4455 Series
Page 8: ...AN692 8 Rev 0 4 Figure 6 Device Configuration Options ...
Page 22: ...AN692 22 Rev 0 4 Figure 21 Supply Current versus Time Diagram from Shutdown to RX State ...
Page 23: ...AN692 Rev 0 4 23 4 4 Radio Chip Waking Up Figure 22 Radio Wake Up Process ...
Page 35: ...AN692 Rev 0 4 35 Figure 32 Transmission Flowchart ...
Page 39: ...AN692 Rev 0 4 39 Figure 33 Reception Flowchart ...
Page 41: ...AN692 Rev 0 4 41 Figure 34 Bidirectional Variable Packet Example Project Flowchart ...
Page 47: ...AN692 Rev 0 4 47 Figure 41 Long Packet Transmission Flowchart ...
Page 48: ...AN692 48 Rev 0 4 Figure 42 Long Packet RX Flowchart ...