nRF5 SDK v17.1.0
Macros | Enumerations
nRF21540 front-end Bluetooth range extender types

Macros

#define NRF21540_EXECUTE_NOW   ((uint32_t)0)
 Value used as event zero-address - for immediate function execution. This is useful in functions with 'user_trigger_event' input parameter.
 

Enumerations

enum  nrf21540_antenna_t {
  NRF21540_ANT1,
  NRF21540_ANT2
}
 nRF21540 antenna outputs. More...
 
enum  nrf21540_pwr_mode_t {
  NRF21540_PWR_MODE_A,
  NRF21540_PWR_MODE_B
}
 nRF21540 power modes. More...
 
enum  nrf21540_trx_t {
  NRF21540_TX,
  NRF21540_RX
}
 nRF21540 transmission direction modes. More...
 
enum  nrf21540_bool_state_t {
  NRF21540_DISABLE,
  NRF21540_ENABLE
}
 State type for nRF21540 purposes. More...
 
enum  nrf21540_execution_mode_t {
  NRF21540_EXEC_MODE_NON_BLOCKING,
  NRF21540_EXEC_MODE_BLOCKING
}
 Modes (blocking/non-blocking) for nRF21540 purposes. More...
 

Detailed Description

Enumeration Type Documentation

nRF21540 antenna outputs.

Note
Read more in the Product Specification.
Enumerator
NRF21540_ANT1 

Antenna 1 output.

NRF21540_ANT2 

Antenna 2 output.

State type for nRF21540 purposes.

Enumerator
NRF21540_DISABLE 

State disable.

NRF21540_ENABLE 

State enable.

Modes (blocking/non-blocking) for nRF21540 purposes.

Enumerator
NRF21540_EXEC_MODE_NON_BLOCKING 

Non-blocking execution mode.

NRF21540_EXEC_MODE_BLOCKING 

Blocking execution mode.

nRF21540 power modes.

Note
Read more in the Product Specification.
Enumerator
NRF21540_PWR_MODE_A 

Power mode A.

NRF21540_PWR_MODE_B 

Power mode B.

nRF21540 transmission direction modes.

Enumerator
NRF21540_TX 

Transmission direction mode transmit.

NRF21540_RX 

Transmission direction mode receive.


Documentation feedback | Developer Zone | Subscribe | Updated