Go to the documentation of this file.
20 #ifndef CC2538_RF_INTERNAL_H
21 #define CC2538_RF_INTERNAL_H
27 #define CC2538_RX_FIFO_ADDR 0x40088000
28 #define CC2538_TX_FIFO_ADDR 0x40088200
97 bool RFCORE_ASSERT_failure(
const char *expr,
const char *func,
int line);
uint_fast8_t rfcore_read_byte(void)
Read a single byte from the RX FIFO.
void rfcore_read_fifo(void *buf, uint_fast8_t len)
Read the remaining unread data from the RX FIFO.
void rfcore_strobe(uint_fast8_t instr)
Issue a command strobe from the CPU to the radio.
uint_fast8_t rfcore_peek_rx_fifo(int idx)
Peek a single byte from the RX FIFO.
void rfcore_poke_tx_fifo(int idx, uint_fast8_t byte)
Poke a single byte in the TX FIFO.
void rfcore_write_byte(uint_fast8_t byte)
Write a single byte to the next index of the TX FIFO.
void rfcore_write_fifo(const void *buf, uint_fast8_t len)
Write a string of bytes to the TX FIFO.