XBee Firmware Library
1.6.0
|
Typedefs | |
typedef enum app_rst_causes | app_rst_casuses_t |
typedef enum bl_rst_casues | bl_rst_casues_t |
Enumerations | |
enum | app_rst_causes { APP_CAUSE_NOTHING = 0x0000, APP_CAUSE_COPY_FLASH_SUCCESS = 0x00FE, APP_CAUSE_COPY_FLASH_FAILED = 0x00FF, APP_CAUSE_FIRMWARE_UPDATE = 0x5981, APP_CAUSE_FIRMWARE_UPDATE_APS = 0x5983, APP_CAUSE_BYPASS_MODE = 0x4682, APP_CAUSE_BOOTLOADER_MENU = 0x6A18, APP_CAUSE_COPY_FLASH_TO_RUN_SPACE = -0x5482, APP_CAUSE_REQUEST_SOPT1_NOT_WRITTEN = 0x7815 } |
enum | bl_rst_casues { BL_CAUSE_NOTHING = 0x0000, BL_CAUSE_NOTHING_COUNT = 0x0001, BL_CAUSE_BAD_APP = 0x0010 } |
Functions | |
int | printf_void (const char *s,...) |
int | scanf_void (const char *s,...) |
void | sys_app_banner (void) |
void | sys_clocks_init (void) |
Initializes all the system clocks. More... | |
uint8_t | sys_get_hw_id (void) |
Gets the hardware ID of the device. More... | |
void | sys_halt (char *str) |
Prints out the given string, disables IRQs and stops the application execution. More... | |
void | sys_hw_init (void) |
void | sys_init (void) |
Initializes the device. Calls the different module initialization functions. More... | |
void | sys_irqs_disable (void) |
Disables the IRQs. More... | |
void | sys_irqs_enable (void) |
Enables the IRQs. More... | |
void | sys_reset (app_rst_casuses_t reason) |
Restarts the device. More... | |
void | sys_udelay (uint8_t delay) |
Performs a software delay of delay micro seconds. More... | |
void | sys_watchdog_reset (void) |
Resets the watchdog timer. More... | |
Variables | |
xbee_dev_t | xdev |
typedef enum app_rst_causes app_rst_casuses_t |
typedef enum bl_rst_casues bl_rst_casues_t |
enum app_rst_causes |
enum bl_rst_casues |
int printf_void | ( | const char * | s, |
... | |||
) |
int scanf_void | ( | const char * | s, |
... | |||
) |
void sys_app_banner | ( | void | ) |
void sys_hw_init | ( | void | ) |
xbee_dev_t xdev |