Atmel Software Framework

at86rf212/inc/tal_pib.h File Reference

Macros

#define EU_TX_PWR_TABLE   (2) /* Use power table #2 for EU mode */
 
#define MAX_TX_PWR   (10)
 
#define MAX_TX_PWR_BPSK_20   (5)
 
#define MAX_TX_PWR_CHINA
 
#define MAX_TX_PWR_CHINA_1000
 
#define MAX_TX_PWR_OQPSK_100   (2)
 
#define MIN_TX_PWR   (-11)
 
#define TX_PWR_TABLE_CHINA
 
#define TX_PWR_TABLE_EU1
 
#define TX_PWR_TABLE_EU2
 
#define TX_PWR_TABLE_NA
 Tx power table Table maps tx power value to register value. More...
 
#define TX_PWR_TABLE_SIZE   (22)
 

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 EU_TX_PWR_TABLE   (2) /* Use power table #2 for EU mode */
#define MAX_TX_PWR   (10)
#define MAX_TX_PWR_BPSK_20   (5)
#define MAX_TX_PWR_CHINA
Value:
(8) /* MAX TX power limit for
* 250,500kbps data rates */

Referenced by limit_tx_pwr(), and validate_tx_power().

#define MAX_TX_PWR_CHINA_1000
Value:
(5) /* MAX TX power limit for 1000kbps
* data rates */

Referenced by limit_tx_pwr(), and validate_tx_power().

#define MAX_TX_PWR_OQPSK_100   (2)

Referenced by limit_tx_pwr(), and validate_tx_power().

#define MIN_TX_PWR   (-11)
#define TX_PWR_TABLE_CHINA
Value:
/* Tx power, dBm 10 9 8 7 6 5 4 3
* 2 1 0 -1 -2 -3 -4 -5 -6 -7 -8
* -9 -10 -11 */ \
/* Register value */ 0xe4, 0xe4, 0xe4, 0xe5, 0xe6, 0xe8, 0xe9, 0xea, \
0xca, 0xaa, 0xab, 0xac, 0x46, 0x25, 0x03, 0x04, 0x05, \
0x06, 0x07, 0x08, 0x09, 0x0a
#define TX_PWR_TABLE_EU1
Value:
/* Tx power, dBm 10 9 8 7 6 5 4 3
* 2 1 0 -1 -2 -3 -4 -5 -6 -7 -8
* -9 -10 -11 */ \
/* Register value */ 0x62, 0x62, 0x62, 0x62, 0x62, 0x62, 0x62, 0x63, \
0x64, 0x65, 0x66, 0x47, 0x48, 0x28, 0x29, 0x2a, 0x08, \
0x09, 0x0a, 0x0b, 0x0c, 0x0d
#define TX_PWR_TABLE_EU2
Value:
/* Tx power, dBm 10 9 8 7 6 5 4 3
* 2 1 0 -1 -2 -3 -4 -5 -6 -7 -8
* -9 -10 -11 */ \
/* Register value */ 0xe8, 0xe8, 0xe8, 0xe8, 0xe8, 0xe8, 0xe9, 0xea, \
0xeb, 0xab, 0xac, 0xad, 0x48, 0x28, 0x29, 0x2a, 0x08, \
0x09, 0x0a, 0x0b, 0x0c, 0x0d
#define TX_PWR_TABLE_NA
Value:
/* Tx power, dBm 10 9 8 7 6 5 4 3
* 2 1 0 -1 -2 -3 -4 -5 -6 -7 -8
* -9 -10 -11 */ \
/* Register value */ 0xe1, 0xa1, 0x81, 0x82, 0x83, 0x84, 0x85, 0x42, \
0x22, 0x23, 0x24, 0x25, 0x04, 0x05, 0x06, 0x07, 0x08, \
0x09, 0x0a, 0x0b, 0x0c, 0x0d

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

#define TX_PWR_TABLE_SIZE   (22)