This file handles the TAL PIB attributes, set/get and initialization.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
#include "pal.h"
#include "return_val.h"
#include "tal.h"
#include "ieee_const.h"
#include "tal_constants.h"
#include "tal_pib.h"
#include "at86rf233.h"
#include "tal_internal.h"
Functions | |
uint8_t | convert_phyTransmitPower_to_reg_value (uint8_t phyTransmitPower_value) |
Converts a phyTransmitPower value to a register value. More... | |
FLASH_DECLARE (int8_t tx_pwr_table[16]) | |
void | init_tal_pib (void) |
Initialize the TAL PIB. More... | |
static uint8_t | limit_tx_pwr (uint8_t curr_transmit_power) |
Limit the phyTransmitPower to the trx limits. More... | |
retval_t | tal_pib_set (uint8_t attribute, pib_value_t *value) |
Sets a TAL PIB attribute. More... | |
void | write_all_tal_pib_to_trx (void) |
Write all shadow PIB variables to the transceiver. More... | |