Sleep manager example for MegaRF.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
ISR (BUTTON_vect) | |
int | main (void) |
Main function. More... | |
ISR | ( | BUTTON_vect | ) |
References BUTTON_PIN, delay_ms, and ioport_get_pin_level().
int main | ( | void | ) |
Main function.
References board_init(), BUTTON_NUMBER, BUTTON_PIN, delay_init, delay_ms, Enable_global_interrupt, external_interrupt_enable, ioport_init(), ioport_set_pin_sense_mode(), LED_Off, LED_On, LED_PIN, SLEEPMGR_ACTIVE, sleepmgr_enter_sleep(), sleepmgr_init(), sleepmgr_lock_mode(), SLEEPMGR_NR_OF_MODES, sleepmgr_unlock_mode(), sysclk_get_cpu_hz(), and sysclk_init().