48#define POWER_PIN IOID_30
49#define SELECT_PIN IOID_1
52shutdown_handler(uint8_t mode)
54 ti_lib_gpio_clear_dio(POWER_PIN);
61LPM_MODULE(rf_switch_module, NULL, shutdown_handler, NULL, LPM_DOMAIN_NONE);
66 ti_lib_ioc_pin_type_gpio_output(POWER_PIN);
67 ti_lib_gpio_clear_dio(POWER_PIN);
68 ti_lib_ioc_pin_type_gpio_output(SELECT_PIN);
69 ti_lib_gpio_clear_dio(SELECT_PIN);
77 ti_lib_gpio_set_dio(POWER_PIN);
83 ti_lib_gpio_clear_dio(POWER_PIN);
87rf_switch_select_path(uint8_t path)
89 ti_lib_gpio_write_dio(SELECT_PIN, path);
#define LPM_MODULE(n, m, s, w, l)
Declare a variable to be used in order to get notifications from LPM.
void lpm_register_module(lpm_registered_module_t *module)
Register a module for LPM notifications.
Header file with definitions related to RF switch support.
Header file with macros which rename TI CC26xxware functions.