Microchip® Advanced Software Framework

main.c File Reference

CMSIS Example.

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

#include "asf.h"
#include "conf_board.h"

Functions

static __INLINE void delay_ms (uint32_t ul_dly_ticks)
 Delay number of tick Systicks (happens every 1 ms). More...
 
int main (void)
 Application entry point. More...
 
void SysTick_Handler (void)
 SysTick_Handler. More...
 

Variables

static volatile uint32_t g_ul_ms_ticks = 0U
 

static __INLINE void delay_ms ( uint32_t  ul_dly_ticks)
static

Delay number of tick Systicks (happens every 1 ms).

References g_ul_ms_ticks.

Referenced by main().

int main ( void  )

Application entry point.

Returns
Unused (ANSI-C compatibility).

References board_init(), delay_ms(), LED0, LED_Off, LED_On, sysclk_get_cpu_hz(), and sysclk_init().

void SysTick_Handler ( void  )

SysTick_Handler.

References g_ul_ms_ticks.

volatile uint32_t g_ul_ms_ticks = 0U
static

Referenced by delay_ms(), and SysTick_Handler().