1.4.3.31 PAL_SetChannel Function
C
uint8_t PAL_SetChannel(uint16_t pch);
Summary
Set the band (PLC) or the pch (RF).
Description
This routine is used to set the pch or band used for the communication.
Precondition
The PAL_Initialize function should have been called before calling this function.
Parameters
Param | Description |
---|---|
pch | Physical channel |
Returns
PAL_CFG_SUCCESS - If successful
PAL_CFG_INVALID_INPUT - If unsuccessful
Example
uint8_t result=PAL_CFG_SUCCESS;
uint16_t pch=1;
result = PAL_SetChannel(pch);
Remarks
Not available for PHY Serial.