1.4.3.32 PAL_ProgramChannelSwitch Function
C
void PAL_ProgramChannelSwitch(uint32_t timeSync, uint16_t pch,
uint8_t timeMode);
Summary
Program a pch switch in the given time.
Description
This routine is used to program a pch switch in the given time.
Precondition
The PAL_Initialize function should have been called before calling this function.
Parameters
Param | Description |
---|---|
timeSync | Initial pch switch time in us |
pch | Physical Channel to be updated |
timeMode | Channel switch time mode |
Returns
Noe.
Example
uint32_t timeSync = 10000
uint16_t pch = 600;
uint8_t timeMode = PAL_TX_MODE_ABSOLUTE;
PAL_ProgramChannelSwitch(timeSync, pch, timeMode);
Remarks
Only available for PHY RF.