42 #include "board-peripherals.h" 53 ti_lib_prcm_power_domain_on(PRCM_DOMAIN_PERIPH);
54 while(ti_lib_prcm_power_domain_status(PRCM_DOMAIN_PERIPH)
55 != PRCM_DOMAIN_POWER_ON);
64 LPM_MODULE(launchpad_module, NULL, NULL, wakeup_handler, LPM_DOMAIN_NONE);
67 configure_unused_pins(
void)
69 uint32_t pins[] = BOARD_UNUSED_PINS;
73 for(pin = pins; *pin != IOID_UNUSED; pin++) {
74 ti_lib_ioc_pin_type_gpio_input(*pin);
75 ti_lib_ioc_io_port_pull_set(*pin, IOC_IOPULL_DOWN);
83 bool int_disabled = ti_lib_int_master_disable();
89 ti_lib_prcm_peripheral_run_enable(PRCM_PERIPH_GPIO);
92 ti_lib_prcm_load_set();
93 while(!ti_lib_prcm_load_get());
101 configure_unused_pins();
108 ti_lib_int_master_enable();
Header file with macros which rename TI CC26xxware functions.
void board_init()
Board specific iniatialisation.
Header file with definitions related to RF switch support.
bool ext_flash_init(const spi_device_t *conf)
Initialise the external flash.
#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.