
Primitives
Simple Media Access Controller (SMAC) for the HCS08 Reference Manual, Rev. 2.0
3-8
Freescale Semiconductor
3.1.9
MLMEHibernateRequest
Similar to the MLMEDozeRequest, this call places the transceiver in a low power mode. This function
places the transceiver into Hibernate mode where the reference oscillator is disabled (see below):
•
For the MC13202, and MC1321x devices, the transceiver timer module and CLKO outputs are not
functional.
•
The MC1323x platform is unique in that the transceiver is not a separate device and the reference
oscillator is not isolated to the transceiver. For this platform, this function only disables the clock
to the transceiver/modem.
•
The transceiver can be wakened by a MLMEWakeRequest function call or asserting the hardware
reset to the transceiver. Note that MLMEWakeRequest function does not perform any operation for
MC1323x platform devices. It only returns gErrorNoError_c
Prototype
smacErrors_t MLMEHibernateRequest(void);
Arguments
None
Returns
gErrorNoError_c
The Radio has been set in Hibernate mode.
gErrorBusy_c
Radio is performing another action and could not attend this request.
Usage
When function is called, the reference oscillator is disabled and CLKO (if enabled) is disabled after 128
clock cycles (similar to Doze). If the MCU is using this signal as a clock source, the user should first switch
to internal clock and then make the MLMEHibernateRequest() call to place the radio into Hibernate mode.
3.1.10
MLMEPAOutputAdjust
This function is called to set the output power of the radio transmitter. A single parameter is passed
allowing 16 different power settings:
•
Power settings vary from 0 being the lowest to 15
dec
the highest.
•
Macros MIN_POWER, MAX_POWER, and NOMINAL_POWER are also acceptable
Table 3-1
shows the typical output power versus power settings for the MC13202/MC13213 families
Prototype
smacErrors_t MLMEPAOutputAdjust(uint8_t U8PaValue);
Arguments
uint8_t