Microchip® Advanced Software Framework

led_toggle.c File Reference

SAM LED Toggle Example.

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

#include <asf.h>

Functions

static void config_led (void)
 Configure LED0, turn it off. More...
 
int main (void)
 
void SysTick_Handler (void)
 Handler for the device SysTick module, called when the SysTick counter reaches the set period. More...
 

static void config_led ( void  )
static
int main ( void  )
void SysTick_Handler ( void  )

Handler for the device SysTick module, called when the SysTick counter reaches the set period.

Note
As this is a raw device interrupt, the function name is significant and must not be altered to ensure it is hooked into the device's vector table.

References LED_0_PIN, and port_pin_toggle_output_level().