nRF5 SDK for Thread and Zigbee v3.2.0
Data Structures | Macros | Typedefs
Type definitions used in the 802.15.4 driver.

Definitions of types used in the 802.15.4 driver. More...

Data Structures

struct  nrf_802154_cca_cfg_t
 Structure for configuring CCA. More...
 

Macros

#define NRF_802154_STATE_INVALID   0x01
 
#define NRF_802154_STATE_SLEEP   0x02
 
#define NRF_802154_STATE_RECEIVE   0x03
 
#define NRF_802154_STATE_TRANSMIT   0x04
 
#define NRF_802154_STATE_ENERGY_DETECTION   0x05
 
#define NRF_802154_STATE_CCA   0x06
 
#define NRF_802154_STATE_CONTINUOUS_CARRIER   0x07
 
#define NRF_802154_TX_ERROR_NONE   0x00
 
#define NRF_802154_TX_ERROR_BUSY_CHANNEL   0x01
 
#define NRF_802154_TX_ERROR_INVALID_ACK   0x02
 
#define NRF_802154_TX_ERROR_NO_MEM   0x03
 
#define NRF_802154_TX_ERROR_TIMESLOT_ENDED   0x04
 
#define NRF_802154_TX_ERROR_NO_ACK   0x05
 
#define NRF_802154_TX_ERROR_ABORTED   0x06
 
#define NRF_802154_TX_ERROR_TIMESLOT_DENIED   0x07
 
#define NRF_802154_RX_ERROR_NONE   0x00
 
#define NRF_802154_RX_ERROR_INVALID_FRAME   0x01
 
#define NRF_802154_RX_ERROR_INVALID_FCS   0x02
 
#define NRF_802154_RX_ERROR_INVALID_DEST_ADDR   0x03
 
#define NRF_802154_RX_ERROR_RUNTIME   0x04
 
#define NRF_802154_RX_ERROR_TIMESLOT_ENDED   0x05
 
#define NRF_802154_RX_ERROR_ABORTED   0x06
 
#define NRF_802154_RX_ERROR_DELAYED_TIMESLOT_DENIED   0x07
 
#define NRF_802154_RX_ERROR_DELAYED_TIMEOUT   0x08
 
#define NRF_802154_RX_ERROR_INVALID_LENGTH   0x09
 
#define NRF_802154_ED_ERROR_ABORTED   0x01
 
#define NRF_802154_CCA_ERROR_ABORTED   0x01
 
#define NRF_802154_SLEEP_ERROR_NONE   0x00
 
#define NRF_802154_SLEEP_ERROR_BUSY   0x01
 
#define NRF_802154_TERM_NONE   0x00
 
#define NRF_802154_TERM_802154   0x01
 
#define NRF_802154_ACK_DATA_PENDING_BIT   0x00
 
#define NRF_802154_ACK_DATA_IE   0x01
 

Typedefs

typedef uint8_t nrf_802154_state_t
 States of the driver.
 
typedef uint8_t nrf_802154_tx_error_t
 Errors reported during frame transmission.
 
typedef uint8_t nrf_802154_rx_error_t
 Possible errors during frame reception.
 
typedef uint8_t nrf_802154_ed_error_t
 Possible errors during energy detection.
 
typedef uint8_t nrf_802154_cca_error_t
 Possible errors during CCA procedure.
 
typedef uint8_t nrf_802154_sleep_error_t
 Possible errors during sleep procedure call.
 
typedef uint8_t nrf_802154_term_t
 Termination level selected for a particular request. More...
 
typedef uint8_t nrf_802154_ack_data_t
 Types of data that can be set in an Ack message.
 

Detailed Description

Definitions of types used in the 802.15.4 driver.

Typedef Documentation

typedef uint8_t nrf_802154_term_t

Termination level selected for a particular request.

Each request can terminate an ongoing operation. This type selects which operation should be aborted by a given request.


Documentation feedback | Developer Zone | Subscribe | Updated