XBee Firmware Library  1.6.0
Enumerations | Functions
tpm.h File Reference

Enumerations

enum  tpm_t { TPM1, TPM2, TPM3 }
 

Functions

void tpm_clock_gating (tpm_t tpm, uint8_t enable)
 
uint16_t tpm_compute_modulo (uint8_t tpmsc, uint32_t u_secs)
 
uint8_ttpm_get_baseaddr (tpm_t tpm)
 
int tpm_get_mode (xpin_t pin)
 
int tpm_irq_enable (xpin_t pin, bool_t enable)
 
uint32_t tpm_modulo_to_usec (uint8_t tpmsc, uint16_t modulo)
 
int tpm_set_mode (xpin_t pin, uint8_t mode)
 
int tpm_set_prescaler (tpm_t tpm, uint32_t u_secs)
 
tpm_t xpin_get_tpm (xpin_t pin)
 
uint8_t xpin_get_tpm_ch (xpin_t pin)
 
bool_t xpin_has_tpmch (xpin_t pin)
 

Enumeration Type Documentation

enum tpm_t
Enumerator
TPM1 
TPM2 
TPM3 

Function Documentation

void tpm_clock_gating ( tpm_t  tpm,
uint8_t  enable 
)
uint16_t tpm_compute_modulo ( uint8_t  tpmsc,
uint32_t  u_secs 
)
uint8_t* tpm_get_baseaddr ( tpm_t  tpm)
int tpm_get_mode ( xpin_t  pin)
int tpm_irq_enable ( xpin_t  pin,
bool_t  enable 
)
uint32_t tpm_modulo_to_usec ( uint8_t  tpmsc,
uint16_t  modulo 
)
int tpm_set_mode ( xpin_t  pin,
uint8_t  mode 
)
int tpm_set_prescaler ( tpm_t  tpm,
uint32_t  u_secs 
)
tpm_t xpin_get_tpm ( xpin_t  pin)
uint8_t xpin_get_tpm_ch ( xpin_t  pin)
bool_t xpin_has_tpmch ( xpin_t  pin)