Macros | Functions
wdt.c File Reference

Watchdog Timer (WDT) driver for SAM. More...

#include "wdt.h"
Include dependency graph for wdt.c:

Go to the source code of this file.

Macros

#define WDT_KEY_PASSWORD   0xA5000000
 
#define WDT_MAX_VALUE   4095
 
#define WDT_SLCK_DIV   128
 

Functions

void wdt_disable (Wdt *p_wdt)
 Disable the watchdog timer. More...
 
uint32_t wdt_get_status (Wdt *p_wdt)
 Check the watchdog timer status. More...
 
uint32_t wdt_get_timeout_value (uint32_t ul_us, uint32_t ul_sclk)
 Get counter value or permitted range value of watchdog timer from the desired timeout period (in us). More...
 
uint32_t wdt_get_us_timeout_period (Wdt *p_wdt, uint32_t ul_sclk)
 Get the timeout period of the WatchDog Timer in microseconds. More...
 
void wdt_init (Wdt *p_wdt, uint32_t ul_mode, uint16_t us_counter, uint16_t us_delta)
 Initialize watchdog timer with the given mode. More...
 
void wdt_restart (Wdt *p_wdt)
 Restart the watchdog timer. More...
 

Detailed Description

Watchdog Timer (WDT) driver for SAM.

Copyright (c) 2011-2015 Atmel Corporation. All rights reserved.

Definition in file wdt.c.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:07