#include <sys/types.h>
#include <arch/btn-hardware.h>
#include <hardware/btn-latch.h>
Functions | |
void | btn_hardware_bt_on (void) |
void | btn_hardware_bt_power (u_char on) |
void | btn_hardware_bt_power_off (void) |
void | btn_hardware_bt_power_on (void) |
void | btn_hardware_bt_radio_power (u_char on) |
void | btn_hardware_bt_reset (u_char reset) |
void | btn_hardware_cc1000_power (u_char on) |
void | btn_hardware_init (void) |
void | btn_hardware_io_power (u_char on) |
void btn_hardware_bt_on | ( | void | ) |
This function turns on the power of the bt module and the bt radio, does a reset of the module and sleeps for a short period of time to let the bt module boot
void btn_hardware_bt_power | ( | u_char | on | ) |
turns power latch of bt module on and off
on | 1=on/ 0=off |
void btn_hardware_bt_power_off | ( | void | ) |
This function turns off the power of the bt module and the bt radio and hold the reset pin
only available on BTnode3
void btn_hardware_bt_power_on | ( | void | ) |
This function turns on the power of the bt module and the bt radio, release the reset pin and let the bt module boot
only available on BTnode3
void btn_hardware_bt_radio_power | ( | u_char | on | ) |
turns the bt radio on and off
on | 1=on/ 0=off |
void btn_hardware_bt_reset | ( | u_char | reset | ) |
controlls the reset pin on the bt module
reset | 1=reset/ 0=no reset |
void btn_hardware_cc1000_power | ( | u_char | on | ) |
turns power latch of cc1000 radio on and off
on | 1=on/ 0=off |
void btn_hardware_init | ( | void | ) |
this init function has to be called by every application at the beginning of the main procedure. with the call of this function the init0 section with the xsram settings will be set
void btn_hardware_io_power | ( | u_char | on | ) |
turns power latch of external hardware on and off
on | 1=on/ 0=off |