| 
    Cascoda SDK
    
   Cascoda SDK for building software to run with CA-821x transceivers 
   | 
 
#include <stdio.h>#include <stdlib.h>#include "cascoda-bm/cascoda_evbme.h"#include "cascoda-bm/cascoda_interface.h"#include "cascoda-bm/cascoda_types.h"#include "cascoda-util/cascoda_tasklet.h"#include "cascoda-util/cascoda_time.h"#include "ca821x_api.h"#include "devboard_batt.h"#include "devboard_btn.h"
Macros | |
| #define | GET_CHARGE_STAT 1 | 
| #define | GET_VOLTS 1 | 
| #define | GET_USB_PRESENT 1 | 
| #define | REPORT_TIME 5000 | 
| #define | USE_SLEEP_MODE 1 | 
Functions | |
| void | hardware_poll (void) | 
| void | hardware_reinitialise (void) | 
| bool | hardware_can_sleep (void) | 
| void | hardware_sleep (struct ca821x_dev *pDeviceRef) | 
| int | main (void) | 
| #define GET_CHARGE_STAT 1 | 
| #define GET_USB_PRESENT 1 | 
| #define GET_VOLTS 1 | 
| #define REPORT_TIME 5000 | 
| #define USE_SLEEP_MODE 1 | 
| bool hardware_can_sleep | ( | void | ) | 
| void hardware_poll | ( | void | ) | 
| void hardware_reinitialise | ( | void | ) | 
| void hardware_sleep | ( | struct ca821x_dev * | pDeviceRef | ) | 
| int main | ( | void | ) |