Digi XBee(R) ANSI C Host Library
Data Fields

Data Fields

xbee_command_list_context_t clc
 Command list context used for querying configuration.
 
uint16_t din_enabled
 Which pins have digital input sampling enabled. More...
 
uint16_t dout_enabled
 Which pins have digital output enabled. More...
 
uint16_t din_state
 Sampled state of digital inputs.
 
uint16_t dout_state
 Shadow state of digital outputs.
 
uint16_t pullup_state
 Shadow state of pull-up resistors 0:no pull-up; 1:pull-up applied.
 
uint16_t pulldown_state
 Shadow state of pull-down resistors 0:no pull-down; 1:pull-down applied.
 
uint8_t analog_enabled
 Which analog inputs are enabled See XBEE_IO_AD0 etc. More...
 
uint16_t adc_sample [8]
 Analog samples (raw count 0..1023) Entries 0..3 correspond to AD0..3, Entries 4..6 not currently used, Entry 7 for Vcc reading (only obtained if ATV+ issued, and Vcc is less than that threshold). More...
 
uint16_t sample_rate
 Shadow value of ATIR.
 
uint16_t change_mask
 Shadow value of ATIC.
 
uint8_t config [16]
 First 16 configuration states (from ATD0 etc. More...
 
uint16_t pullup_enable
 Raw ATPR command value.
 
uint16_t pullup_direction
 Raw ATPD command value.
 
uint16_t pwm0_level
 Output PWM level (ATM0)
 
uint16_t pwm1_level
 Output PWM level (ATM1)
 
uint8_t pwm_timeout
 ATPT value.
 
uint8_t tx_samples
 ATIT value.
 

Field Documentation

uint16_t adc_sample[8]

Analog samples (raw count 0..1023) Entries 0..3 correspond to AD0..3, Entries 4..6 not currently used, Entry 7 for Vcc reading (only obtained if ATV+ issued, and Vcc is less than that threshold).

uint8_t analog_enabled

Which analog inputs are enabled See XBEE_IO_AD0 etc.

uint8_t config[16]

First 16 configuration states (from ATD0 etc.

commands). Not all used with current hardware.

uint16_t din_enabled

Which pins have digital input sampling enabled.

See XBEE_IO_DIO0 etc.

uint16_t dout_enabled

Which pins have digital output enabled.


The documentation for this struct was generated from the following file: