Interface: tos.chips.cc1000.CC1000Control
interface CC1000Control
CC1000 internal radio control interface.
- Author:
-
Philip Buonadonna
- Aythor:
-
Jaein Jeong
Commands
command void biasOn()
command void coreOn()
command uint8_t getLock()
command bool getLOStatus()
command uint8_t getRFPower()
command void init()
command void off()
command void rxMode()
command void selectLock(uint8_t LockVal)
command void setRFPower(uint8_t power)
command uint32_t tuneManual(uint32_t DesiredFreq)
command void tunePreset(uint8_t freq)
command void txMode()
Commands - Details
biasOn
command void biasOn()
coreOn
command void coreOn()
getLock
command uint8_t getLock()
- Returns:
-
1 - Pin is high or 0 - Pin is low
getLOStatus
command bool getLOStatus()
- Returns:
-
TRUE if high-side LO injection is being used (i.e. data does NOT need to be inverted
at the receiver.
getRFPower
command uint8_t getRFPower()
- Returns:
-
The power index value.
init
command void init()
off
command void off()
rxMode
command void rxMode()
selectLock
command void selectLock(uint8_t LockVal)
- Parameters:
-
LockVal - The index of the signal to monitor at the CHP_OUT pin
setRFPower
command void setRFPower(uint8_t power)
- Parameters:
-
power - A power index between 1 and 255.
tuneManual
command uint32_t tuneManual(uint32_t DesiredFreq)
- Parameters:
-
The - desired channel frequency, in Hz.
- Returns:
-
The actual computed channel frequency, in Hz. A return value
of '0' indicates that no frequency was computed and the radio was not
tuned.
tunePreset
command void tunePreset(uint8_t freq)
- Parameters:
-
freq - The index into the CC1K_Params table that holds the
desired preset frequency parameters.
txMode
command void txMode()