
Primitives
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
3-28
Freescale Semiconductor
gErrorNoValidCondition_c
The MKW01 SMAC is not initialized.
Usage
Call
MLMEPAOutputAdjust(u8PaValue);
NOTE
Be sure to enter a valid value for the PA output adjust.
3.10
MLMEPhySoftReset
The MLMEPhySoftReset function is called to perform a software reset to the PHY and MKW01 SMAC
state machines.
Prototype
smacErrors_t MLMEPHYSoftReset(void);
Arguments
None
Returns
gErrorNoError_c
If the action is performed.
gErrorNoValidCondition_c
If the MKW01 SMAC is not initialized.
Usage
Call
MLMEPHYSoftReset();
Implementation
This function creates a set transceiver state request message with force transceiver off field set and sends
it to PHY.
3.11
MLMEScanRequest
This function creates an ED request message to the PHY. If the channel passed as parameter is different
from the current channel, this function changes the channel before requesting the ED.
Prototype
smacErrors_t MLMEScanRequest(channels_t u8ChannelToScan);
Arguments
channels_t u8ChannelToScan: Channel to be scanned.
Returns
gErrorNoError_c
Everything is normal and the scan will be performed.