AT86RFX configuration.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | ENTER_TRX_REGION() DISABLE_TRX_IRQ() |
This macro saves the trx interrupt status and disables the trx interrupt. More... | |
#define | LEAVE_TRX_REGION() ENABLE_TRX_IRQ() |
This macro restores the transceiver interrupt status. More... | |
#define | nop() do { __asm__ __volatile__ ("nop"); } while (0) |
#define | SHORTENUM __attribute__((packed)) |
Macros for IRQ and AT86RFX accessing GPIO | |
#define | EXT_INT (AVR32_PIN_PA20) |
#define | EXT_INT_ISR_GROUP 2 |
#define | EXT_INT_ISR_PRIORITY 1 |
#define | TRX_RST (AVR32_PIN_PA17) |
RESET pin of transceiver. More... | |
#define | SLP_TR (AVR32_PIN_PA19) |
Sleep Transceiver pin. More... | |
#define | AT86RFX_RX_NOTIFY(frame) at86rfx_tal_rx_frame_cb(frame) |
AT86RFX Module Callbacks definitions (Optional) More... | |
#define | AT86RFX_TX_STATUS_NOTIFY(status) at86rfx_tal_tx_status_cb(status) |
#define AT86RFX_RX_NOTIFY | ( | frame | ) | at86rfx_tal_rx_frame_cb(frame) |
AT86RFX Module Callbacks definitions (Optional)
Referenced by at86rfx_task().
#define AT86RFX_TX_STATUS_NOTIFY | ( | status | ) | at86rfx_tal_tx_status_cb(status) |
#define ENTER_TRX_REGION | ( | ) | DISABLE_TRX_IRQ() |
This macro saves the trx interrupt status and disables the trx interrupt.
Referenced by switch_pll_on(), tal_generate_rand_seed(), and trx_aes_wrrd().
#define EXT_INT (AVR32_PIN_PA20) |
Referenced by pal_trx_init().
#define EXT_INT_ISR_GROUP 2 |
#define EXT_INT_ISR_PRIORITY 1 |
Referenced by pal_trx_init().
#define LEAVE_TRX_REGION | ( | ) | ENABLE_TRX_IRQ() |
This macro restores the transceiver interrupt status.
Referenced by switch_pll_on(), tal_generate_rand_seed(), and trx_aes_wrrd().
#define nop | ( | ) | do { __asm__ __volatile__ ("nop"); } while (0) |
#define SHORTENUM __attribute__((packed)) |
#define SLP_TR (AVR32_PIN_PA19) |
Sleep Transceiver pin.
Referenced by pal_trx_init().
#define TRX_RST (AVR32_PIN_PA17) |
RESET pin of transceiver.
Referenced by pal_trx_init().