Microchip® Advanced Software Framework

ble_host_sdk/inc/config.h File Reference

Macros

#define BM_MODULE_ApplicationModeGet()   ((bm7x_mode_pin_level() == 1) ? 1 : 0)
 
#define BM_MODULE_ApplicationModeSet()
 
#define BM_MODULE_ControlInit()   ble_configure_control_pin()
 
#define BM_MODULE_ProgramModeGet()   ((bm7x_mode_pin_level() == 1) ? 0 : 1)
 
#define BM_MODULE_ProgramModeSet()
 
#define BM_RESET()
 
#define BUFFER_LEN_MAX   64
 
#define DELAY_4S   4000
 

#define BM_MODULE_ApplicationModeGet ( )    ((bm7x_mode_pin_level() == 1) ? 1 : 0)
#define BM_MODULE_ApplicationModeSet ( )
Value:
{ ble_configure_reset_pin_dir_output(); \
bm7x_reset_pin_set_low(); \
delay_ms(5); \
bm7x_mode_pin_set_high(); \
delay_ms(3); \
ble_configure_reset_pin_dir_input(); \
bm7x_wakeup_pin_set_high(); }
#define delay_ms(delay)
Delay in at least specified number of milliseconds.
Definition: delay.h:74
#define BM_MODULE_ControlInit ( )    ble_configure_control_pin()
#define BM_MODULE_ProgramModeGet ( )    ((bm7x_mode_pin_level() == 1) ? 0 : 1)
#define BM_MODULE_ProgramModeSet ( )
Value:
{ ble_configure_reset_pin_dir_output(); \
bm7x_reset_pin_set_low(); \
delay_ms(5); \
bm7x_mode_pin_set_low(); \
delay_ms(3); \
ble_configure_reset_pin_dir_input(); \
bm7x_wakeup_pin_set_high();}
#define delay_ms(delay)
Delay in at least specified number of milliseconds.
Definition: delay.h:74
#define BM_RESET ( )
Value:
{ ble_configure_reset_pin_dir_output(); \
bm7x_reset_pin_set_low(); \
delay_ms(5); \
ble_configure_reset_pin_dir_input(); } \
#define delay_ms(delay)
Delay in at least specified number of milliseconds.
Definition: delay.h:74
#define BUFFER_LEN_MAX   64
#define DELAY_4S   4000