1.4.3.26 PAL_GetNL Function
C
uint8_t PAL_GetNL(uint16_t pch, uint8_t *noise);
Summary
Get the noise floor level value.
Description
This routine is used to know the noise level present in the powerline.
Precondition
The PAL_Initialize function should have been called before calling this function.
Parameters
Param | Description |
---|---|
pch | Physical channel |
noise | Noise floor level output parameter |
Returns
PAL_CFG_SUCCESS - If successful
PAL_CFG_INVALID_INPUT- If unsuccessful
Example
uint8_t result=PAL_CFG_SUCCESS;
uint8_t nl=0;
uint16_t pch=1;
result = PAL_GetNL(pch, &nl);
Remarks
Not available for PHY Serial.