Atmel Software Framework

xmega/services/timeout/timeout_example2/example2.c File Reference
#include <asf.h>
#include <conf_timeout.h>
#include <conf_example.h>

Macros

#define DEBOUNCE_TICKS   (50 * TIMEOUT_TICK_HZ / 1000)
 Length of debounce timeout, in ticks. More...
 

Enumerations

enum  { DEBOUNCE_TIMEOUT }
 Enum to get timeout index. More...
 

Functions

int main (void)
 Timeout example 2 main application routine. More...
 

#define DEBOUNCE_TICKS   (50 * TIMEOUT_TICK_HZ / 1000)

Length of debounce timeout, in ticks.

Referenced by main().

anonymous enum

Enum to get timeout index.

Enumerator
DEBOUNCE_TIMEOUT