Interface: tos.chips.cc2420.interfaces.CC2420Power
interface CC2420Power
An HAL abstraction of the ChipCon CC2420 radio. This abstraction
deals specifically with radio power operations (e.g. voltage
regulator, oscillator, etc). However, it does not include
transmission power, see the CC2420Config interface.
- Author:
-
Jonathan Hui <jhui@archrock.com>
- Version:
-
$Revision: 1.1 $ $Date: 2007/07/04 00:37:14 $
Commands
command error_t rfOff()
command error_t rxOn()
command error_t startVReg()
command error_t stopVReg()
Events
event void startVRegDone()
Commands - Details
rfOff
command error_t rfOff()
- Returns:
-
SUCCESS if receive mode has been disabled, FAIL otherwise.
rxOn
command error_t rxOn()
- Returns:
-
SUCCESS if receive mode has been enabled, FAIL otherwise.
startOscillator
command error_t startOscillator()
- Returns:
-
SUCCESS if the request was accepted, FAIL otherwise.
startVReg
command error_t startVReg()
- Returns:
-
SUCCESS if the request was accepted, FAIL otherwise.
stopOscillator
command error_t stopOscillator()
- Returns:
-
SUCCESS if the oscillator was stopped, FAIL otherwise.
stopVReg
command error_t stopVReg()
- Returns:
-
SUCCESS always
Events - Details
startOscillatorDone
event void startOscillatorDone()
startVRegDone
event void startVRegDone()