小白想问一下cc1101的配置问题,我在网上看到有关cc1101的代码,程序里的代码是怎么 配置的呢?我在cc1101的中文资料里没看到有关的配置,是我看的手册不对吗?
extern void Init_CC1101(void);
extern void halRfSendPacket(INT8U *txBuffer, INT8U size);
extern void POWER_UP_RESET_CC1100(void);
extern void halRfWriteRfSettings(void);
extern INT8U halRfReceivePacket(INT8U *rxBuffer, INT8U *length);
extern INT8U SpiTxRxByte(INT8U dat);
extern void RF1100_IO_set(void);
extern void USART_Init(unsigned int baud);
extern void halSpiReadBurstReg(INT8U addr, INT8U *buffer, INT8U count);
extern void R_S_Byte(char RecByte);
extern void halSpiWriteBurstReg(INT8U addr, INT8U *buffer, INT8U count);
extern void Delay5ms(void);
extern void delay(unsigned int);
extern void halSpiStrobe(unsigned char);
extern void CC1101_TxData(unsigned char addr,unsigned char *Temp,unsigned char num);
#endif |