AskSin++
Classes | Public Member Functions | List of all members
as::Radio< SPIType, GDO0, SENDDELAY, HWRADIO > Class Template Reference
Inheritance diagram for as::Radio< SPIType, GDO0, SENDDELAY, HWRADIO >:
Inheritance graph
[legend]
Collaboration diagram for as::Radio< SPIType, GDO0, SENDDELAY, HWRADIO >:
Collaboration graph
[legend]

Public Member Functions

void setSendTimeout (uint16_t millis=SENDDELAY)
 
void waitTimeout (uint16_t millis)
 
bool init ()
 
void setIdle ()
 
void wakeup (bool flush=true)
 
bool isIdle ()
 
void handleInt ()
 
bool detectBurst ()
 
uint8_t getGDO0 ()
 
void enable ()
 
void disable ()
 
uint8_t read (Message &msg)
 
uint8_t read (Message &msg, uint32_t timeout)
 
bool write (const Message &msg, uint8_t burst)
 
uint8_t sndData (uint8_t *buf, uint8_t size, uint8_t burst)
 
- Public Member Functions inherited from as::CC1101< SPIType >
void wakeup (bool flush)
 
uint8_t reset ()
 
bool init ()
 
bool initReg (uint8_t regAddr, uint8_t val)
 
bool initReg (uint8_t regAddr, uint8_t val, uint8_t retries=3)
 
uint8_t rssi () const
 
void flushrx ()
 
bool detectBurst ()
 
void pollRSSI ()
 

Additional Inherited Members

- Protected Member Functions inherited from as::CC1101< SPIType >
void calculateRSSI (uint8_t rsshex)
 
uint8_t sndData (uint8_t *buf, uint8_t size, uint8_t burst)
 
uint8_t rcvData (uint8_t *buf, uint8_t size)
 
- Protected Attributes inherited from as::CC1101< SPIType >
SPIType spi
 
uint8_t rss
 
uint8_t f1
 
uint8_t f0
 

Detailed Description

template<class SPIType, uint8_t GDO0, int SENDDELAY = 100, class HWRADIO = CC1101<SPIType>>
class as::Radio< SPIType, GDO0, SENDDELAY, HWRADIO >

Definition at line 767 of file Radio.h.