Microchip® Advanced Software Framework

qs_pac_basic.c File Reference

SAM PAC Quick Start.

Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.

#include <asf.h>

Functions

void config_port_pins (void)
 [pin_setup] More...
 
int main (void)
 [pin_setup] More...
 

int main ( void  )

[pin_setup]

[main]

[init]

[init]

[init_lock]

[init_lock]

[enable_interrupts]

[enable_interrupts]

[button_press]

[button_press]

[disable_interrupts]

[disable_interrupts]

[unlock_perph]

[unlock_perph]

[alter_config]

[alter_config]

[lock_perph]

[lock_perph]

[enable_interrupts_2]

[enable_interrupts_2]

[inf_loop]

[inf_loop] [main]

References config_port_pins(), port_pin_get_input_level(), port_pin_toggle_output_level(), system_init(), system_interrupt_enable_global(), system_interrupt_enter_critical_section(), system_interrupt_leave_critical_section(), system_pac_enable_interrupt(), SYSTEM_PERIPHERAL_ID, system_peripheral_lock(), and system_peripheral_unlock().