Microchip® Advanced Software Framework

at86rf212b/inc/tal_pib.h File Reference

Macros

#define DEFAULT_TX_PWR_BPSK_20   (6) /* EU, band: 868MHz */
 
#define DEFAULT_TX_PWR_CHINA_CH_0_3   (4)
 
#define DEFAULT_TX_PWR_OQPSK_RC_250_500
 
#define DEFAULT_TX_PWR_OQPSK_SIN_RC_100_200_400
 
#define MAX_TX_PWR   (11)
 
#define MAX_TX_PWR_BPSK_20   (MAX_TX_PWR) /* EU, band: 868MHz */
 
#define MAX_TX_PWR_BPSK_40   MAX_TX_PWR /* NA, band: 915MHz */
 
#define MAX_TX_PWR_OQPSK_RC_250
 
#define MAX_TX_PWR_OQPSK_SIN_250   MAX_TX_PWR /* NA, band: 915MHz */
 
#define MAX_TX_PWR_OQPSK_SIN_RC_100   (MAX_TX_PWR) /* EU, band: 868MHz */
 
#define MIN_TX_PWR   (-25)
 
#define TX_PWR_TABLE_CHINA
 
#define TX_PWR_TABLE_EU
 
#define TX_PWR_TABLE_NA
 Tx power table Table maps tx power value to register value. More...
 
#define TX_PWR_TABLE_SIZE   (37)
 

Functions

void init_tal_pib (void)
 Initialize the TAL PIB. More...
 
void write_all_tal_pib_to_trx (void)
 Write all shadow PIB variables to the transceiver. More...
 

#define DEFAULT_TX_PWR_BPSK_20   (6) /* EU, band: 868MHz */

Referenced by set_default_tx_pwr().

#define DEFAULT_TX_PWR_CHINA_CH_0_3   (4)

Referenced by set_default_tx_pwr().

#define DEFAULT_TX_PWR_OQPSK_RC_250_500
Value:
(10) /* China, band: 780MHz
**/

Referenced by set_default_tx_pwr().

#define DEFAULT_TX_PWR_OQPSK_SIN_RC_100_200_400
Value:
(3) /* EU, band: 868MHz
**/

Referenced by set_default_tx_pwr().

#define MAX_TX_PWR   (11)

Referenced by limit_tx_pwr(), and validate_tx_power().

#define MAX_TX_PWR_BPSK_20   (MAX_TX_PWR) /* EU, band: 868MHz */

Referenced by limit_tx_pwr(), and validate_tx_power().

#define MAX_TX_PWR_BPSK_40   MAX_TX_PWR /* NA, band: 915MHz */
#define MAX_TX_PWR_OQPSK_RC_250
Value:
(MAX_TX_PWR) /* China, band: 780MHz
**/
#define MAX_TX_PWR
Definition: at86rf212b/inc/tal_pib.h:92
#define MAX_TX_PWR_OQPSK_SIN_250   MAX_TX_PWR /* NA, band: 915MHz */
#define MAX_TX_PWR_OQPSK_SIN_RC_100   (MAX_TX_PWR) /* EU, band: 868MHz */
#define MIN_TX_PWR   (-25)

Referenced by limit_tx_pwr().

#define TX_PWR_TABLE_CHINA
Value:
/* Tx power, dBm 11 10 9 8 7 6 5 4
* 3 2 1 0 -1 -2 -3 -4 -5 -6 -7
* -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18
* -19 -20 -21 -22 -23 -24 -25 */ \
/* Register value */ 0xc1, 0xe3, 0xe4, 0xc5, 0xe7, 0xe8, 0xe9, 0xea, \
0xcb, 0xcc, 0xcd, 0xce, 0xcf, 0xaf, 0x26, 0x27, 0x28, \
0x29, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, \
0x0f, 0x10, 0x11, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, \
0x19, 0x1a
#define TX_PWR_TABLE_EU
Value:
/* Tx power, dBm 11 10 9 8 7 6 5 4
* 3 2 1 0 -1 -2 -3 -4 -5 -6 -7
* -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18
* -19 -20 -21 -22 -23 -24 -25 */ \
/* Register value */ 0xa0, 0x80, 0xe4, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, \
0xcb, 0xcc, 0xcd, 0xad, 0x47, 0x48, 0x49, 0x29, 0x90, \
0x91, 0x93, 0x94, 0x2f, 0x30, 0x31, 0x0f, 0x10, 0x11, \
0x12, 0x13, 0x14, 0x15, 0x17, 0x18, 0x19, 0x1a, 0x1b, \
0x1c, 0x1d
#define TX_PWR_TABLE_NA
Value:
/* Tx power, dBm 11 10 9 8 7 6 5 4
* 3 2 1 0 -1 -2 -3 -4 -5 -6 -7
* -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18
* -19 -20 -21 -22 -23 -24 -25 */ \
/* Register value */ 0xc0, 0xc1, 0x80, 0x82, 0x83, 0x84, 0x40, 0x86, \
0x00, 0x01, 0x02, 0x03, 0x04, 0x27, 0x05, 0x07, 0x08, \
0x91, 0x09, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, \
0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x19, 0x1a, 0x1b, \
0x1c, 0x1d

Tx power table Table maps tx power value to register value.

#define TX_PWR_TABLE_SIZE   (37)