Microchip® Advanced Software Framework

qs_wdt_callback.c File Reference

SAM Watchdog Driver Callback Quick Start.

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

#include <asf.h>

Functions

void configure_wdt (void)
 [setup] More...
 
void configure_wdt_callbacks (void)
 
int main (void)
 [setup] More...
 
void watchdog_early_warning_callback (void)
 [setup] More...
 

void configure_wdt ( void  )

[setup]

[setup_1]

[setup_1] [setup_2]

[setup_2]

[setup_3]

[setup_3]

[setup_4]

[setup_4]

References wdt_conf::always_on, wdt_conf::clock_source, wdt_conf::early_warning_period, GCLK_GENERATOR_4, wdt_conf::timeout_period, wdt_get_config_defaults(), WDT_PERIOD_2048CLK, WDT_PERIOD_4096CLK, and wdt_set_config().

Referenced by main().

void configure_wdt_callbacks ( void  )

[setup_5]

[setup_5]

[setup_6]

[setup_6]

References watchdog_early_warning_callback(), WDT_CALLBACK_EARLY_WARNING, wdt_enable_callback(), and wdt_register_callback().

Referenced by main().

int main ( void  )

[setup]

[setup_init]

[setup_init]

[main] [main_1]

[main_1]

[main_2]

[main_2]

[main_3]

[main_3]

[main]

References configure_wdt(), configure_wdt_callbacks(), port_pin_set_output_level(), system_init(), and system_interrupt_enable_global().

void watchdog_early_warning_callback ( void  )

[setup]

References port_pin_set_output_level().

Referenced by configure_wdt_callbacks().