XBee Firmware Library  1.6.0
Functions | Variables
hwinit.c File Reference

Functions

void adc_init (void)
 
void gpio_init (void)
 
void radio_gpio_init (uint16_t *pull_direction, uint16_t *pullup_resistor) void radio_gpio_init(uint32_t *pull_direction
 
void sys_app_banner (void)
 
void sys_hw_init (void)
 

Variables

const uint8_t ATAC_cmd [] = {0x7e, 0x00, 0x04, 0x08, 0x0f, 0x41, 0x43, 0x64}
 
const uint8_t ATBD7_cmd [] = {0x7e, 0x00, 0x05, 0x08, 0x0f, 0x42, 0x44, 0x07, 0x5b}
 
const uint8_t ATBD7_resp [] = {0x7e, 0x00, 0x05, 0x88, 0x0f, 0x42, 0x44, 0x00, 0xe2}
 
const uint8_t ATBPD_cmd [] = {0x7e, 0x00, 0x04, 0x09, 0x01, 0x50, 0x44, 0x61}
 
const uint8_t ATBPD_resp_fix [] = {0x7e, 0x00, 0x07, 0x88, 0x01, 0x50, 0x44, 0x00}
 
const uint8_t ATBPR_cmd [] = {0x7e, 0x00, 0x04, 0x09, 0x01, 0x50, 0x52, 0x53}
 
const uint8_t ATBPR_resp_fix [] = {0x7e, 0x00, 0x07, 0x88, 0x01, 0x50, 0x52, 0x00}
 
const uint8_t ATWR_cmd [] = {0x7e, 0x00, 0x04, 0x08, 0x0f, 0x57, 0x52, 0x3f}
 
const uint8_t modem_status_resp [] = {0x7e, 0x00, 0x02, 0x8a, 0x00, 0x75}
 
const uint8_t MS_resp [] = {0x7e, 0x00, 0x02, 0x8a, 0x00, 0x75}
 
uint8_t org_cfg = 0
 
pull_direction
 
void uint32_tpullup_resistor
 
const uint32_t rates [] = {9600, 115200, 57600, 38400, 19200, 4800, 2400, 1200}
 
xbee_dev_t xdev = ~shift_xpin_4
 

Function Documentation

void adc_init ( void  )
void gpio_init ( void  )
void radio_gpio_init ( uint16_t pull_direction,
uint16_t pullup_resistor 
)
void sys_app_banner ( void  )
void sys_hw_init ( void  )

Variable Documentation

const uint8_t ATAC_cmd[] = {0x7e, 0x00, 0x04, 0x08, 0x0f, 0x41, 0x43, 0x64}
const uint8_t ATBD7_cmd[] = {0x7e, 0x00, 0x05, 0x08, 0x0f, 0x42, 0x44, 0x07, 0x5b}
const uint8_t ATBD7_resp[] = {0x7e, 0x00, 0x05, 0x88, 0x0f, 0x42, 0x44, 0x00, 0xe2}
const uint8_t ATBPD_cmd[] = {0x7e, 0x00, 0x04, 0x09, 0x01, 0x50, 0x44, 0x61}
const uint8_t ATBPD_resp_fix = {0x7e, 0x00, 0x07, 0x88, 0x01, 0x50, 0x44, 0x00}
const uint8_t ATBPR_cmd[] = {0x7e, 0x00, 0x04, 0x09, 0x01, 0x50, 0x52, 0x53}
const uint8_t ATBPR_resp_fix = {0x7e, 0x00, 0x07, 0x88, 0x01, 0x50, 0x52, 0x00}
const uint8_t ATWR_cmd[] = {0x7e, 0x00, 0x04, 0x08, 0x0f, 0x57, 0x52, 0x3f}
const uint8_t modem_status_resp[] = {0x7e, 0x00, 0x02, 0x8a, 0x00, 0x75}
const uint8_t MS_resp[] = {0x7e, 0x00, 0x02, 0x8a, 0x00, 0x75}
uint8_t org_cfg = 0
* pull_direction
Initial value:
= orPD7 | orPD9 | orPD11 | orPD13 | orPD15 | orPD18 |
orPD19 | orPD20
*pull_direction &* pullup_resistor
Initial value:
{
#ifdef ENABLE_ASSOCIATION_LED
(void)xbee_cmd_simple(&xdev, "D5", 1)
const uint32_t rates[] = {9600, 115200, 57600, 38400, 19200, 4800, 2400, 1200}
void xbee_cmd_simple & xdev = ~shift_xpin_4