Djordje Trajkovic
/
ccRF
Send&recive two byte over ccRF 2550
__Lib_RF_CC2550.h@0:a669868d99dd, 2015-06-30 (annotated)
- Committer:
- djtr
- Date:
- Tue Jun 30 21:47:55 2015 +0000
- Revision:
- 0:a669868d99dd
CC2500, Nucleo
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
djtr | 0:a669868d99dd | 1 | #ifndef __LIB_RF_CC2550_H |
djtr | 0:a669868d99dd | 2 | #define __LIB_RF_CC2550_H |
djtr | 0:a669868d99dd | 3 | |
djtr | 0:a669868d99dd | 4 | unsigned char RfReceivePacket(unsigned char *rxBuffer, unsigned char *length); |
djtr | 0:a669868d99dd | 5 | |
djtr | 0:a669868d99dd | 6 | void RFInit(); |
djtr | 0:a669868d99dd | 7 | void Reset_CCxxx0(); |
djtr | 0:a669868d99dd | 8 | void POWER_ON_RESET_CCxxx0(); |
djtr | 0:a669868d99dd | 9 | void RfSpiWriteReg(unsigned char address, unsigned char value); |
djtr | 0:a669868d99dd | 10 | void RfSpiWriteBurstReg(unsigned char address, unsigned char *buffer, unsigned char count); |
djtr | 0:a669868d99dd | 11 | void RfSpiStrobe(unsigned char strobe); |
djtr | 0:a669868d99dd | 12 | unsigned char RfSpiReadStatus(unsigned char address); |
djtr | 0:a669868d99dd | 13 | unsigned char RfSpiReadReg(unsigned char address); |
djtr | 0:a669868d99dd | 14 | void RfSpiReadBurstReg(unsigned char address, unsigned char *buffer, unsigned char count); |
djtr | 0:a669868d99dd | 15 | void RfWriteRfSettings(RF_SETTINGS *pRfSettings); |
djtr | 0:a669868d99dd | 16 | void RfWriteRfSettings2500(); |
djtr | 0:a669868d99dd | 17 | void RfSendPacket(unsigned char *txBuffer, unsigned char size); |
djtr | 0:a669868d99dd | 18 | unsigned char RfTransmitPacketWithAddress(unsigned char *txBuffer, unsigned char size, unsigned char *attempts); |
djtr | 0:a669868d99dd | 19 | unsigned char RfReceivePacket(unsigned char *rxBuffer, unsigned char *length); |
djtr | 0:a669868d99dd | 20 | #endif |