XBee Firmware Library  1.6.0
Typedefs | Enumerations
Types

Typedefs

typedef unsigned char dev_t
 An unsigned char variable for select devices. Used in SPI for select SPI0 SPI1. More...
 
typedef int ssize_t
 A integer variable for return data lenght. More...
 
typedef enum xpin xpin_t
 An enum for manage the pins of the S2B module, this typedef show the possibilities of the pins. More...
 

Enumerations

enum  port_t { PORT0, PORT1, PORT2, PORT3 }
 Variable for manage the port component. More...
 
enum  xpin {
  XPIN_1 = NOPWM | NOADC | NOGPIO, XPIN_2 = IRQABLE | NOPWM | ADCCH(5) | PORT_B | PORTBIT(1), XPIN_3 = IRQABLE | NOPWM | ADCCH(4) | PORT_B | PORTBIT(0), XPIN_4 = PWMCH(4) | NOADC | PORT_B | PORTBIT(4),
  XPIN_5 = NOPWM | NOADC | PORT_A | PORTBIT(5), XPIN_6 = PWMCH(11) | NOADC | PORT_C | PORTBIT(5), XPIN_7 = IRQABLE | NOPWM | ADCCH(2) | PORT_A | PORTBIT(2), XPIN_8 = NOPWM | NOADC | PORT_A | PORTBIT(4),
  XPIN_9 = IRQABLE | NOPWM | NOADC | PORT_D | PORTBIT(5), XPIN_10 = NOPWM | NOADC | NOGPIO, XPIN_11 = IRQABLE | NOPWM | ADCCH(7) | PORT_B | PORTBIT(3), XPIN_12 = PWMCH(6) | NOADC | PORT_C | PORTBIT(0),
  XPIN_13 = IRQABLE | PWMCH(3) | ADCCH(1) | PORT_A | PORTBIT(1), XPIN_13 = IRQABLE | PWMCH(3) | ADCCH(1) | PORT_A | PORTBIT(1), XPIN_14 = NOPWM | NOADC | NOGPIO, XPIN_15 = IRQABLE | NOPWM | NOADC | PORT_D | PORTBIT(4),
  XPIN_16 = IRQABLE | NOPWM | NOADC | PORT_D | PORTBIT(7), XPIN_17 = PWMCH(5) | ADCCH(9) | PORT_B | PORTBIT(5), XPIN_18 = IRQABLE | NOPWM | ADCCH(6) | PORT_B | PORTBIT(2), XPIN_19 = IRQABLE | NOPWM | ADCCH(3) | PORT_A | PORTBIT(3),
  XPIN_20 = IRQABLE | PWMCH(0) | ADCCH(0) | PORT_A | PORTBIT(0), XPIN_UNDEF = NOPWM | NOADC | NOGPIO
}
 An enum for manage the pins of the S2B module, this typedef show the possibilities of the pins. More...
 

platform_stdint

Types typically defined in <stdint.h>, define manually if stdint.h is not available on this platform.

typedef char bool_t
 
typedef unsigned char uint8_t
 A unsigned char variable 8 bits. More...
 
typedef unsigned int uint16_t
 An unsigned integer variable 16 bits. More...
 
typedef unsigned long uint32_t
 An unsigned long variable 32 bit. More...
 
typedef signed char int8_t
 A signed char variable 8 bits. More...
 
typedef int int16_t
 A signed integer variable 16 bits. More...
 
typedef long int32_t
 A signed long variable 32 bits. More...
 

Detailed Description

Types.h is the document with the variables types that we use in the API.

Typedef Documentation

Variable that can hold 0 or 1, may be an int for speed purporses or uint8_t for size optimization.

typedef unsigned char dev_t

An unsigned char variable for select devices. Used in SPI for select SPI0 SPI1.

A signed integer variable 16 bits.

16-bit signed integer

A signed long variable 32 bits.

32-bit signed integer

A signed char variable 8 bits.

8-bit signed integer

typedef int ssize_t

A integer variable for return data lenght.

An unsigned integer variable 16 bits.

16-bit unsigned integer

An unsigned long variable 32 bit.

32-bit unsigned integer

_xbee_device_debug uint8_t

A unsigned char variable 8 bits.

8-bit unsigned integer

typedef enum xpin xpin_t

An enum for manage the pins of the S2B module, this typedef show the possibilities of the pins.

Enumeration Type Documentation

enum port_t

Variable for manage the port component.

Enumerator
PORT0 
PORT1 
PORT2 
PORT3 
enum xpin

An enum for manage the pins of the S2B module, this typedef show the possibilities of the pins.

Enumerator
XPIN_1 
XPIN_2 
XPIN_3 
XPIN_4 
XPIN_5 
XPIN_6 
XPIN_7 
XPIN_8 
XPIN_9 
XPIN_10 
XPIN_11 
XPIN_12 
XPIN_13 
XPIN_13 
XPIN_14 
XPIN_15 
XPIN_16 
XPIN_17 
XPIN_18 
XPIN_19 
XPIN_20 
XPIN_UNDEF