FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
watchdog Namespace Reference

Defines the simple API for Watchdog timer management. More...

Classes

class  Watchdog
 Simple API to use watchdog timer as a clock for events generation. More...
 
class  WatchdogRTT
 Simple API to use watchdog timer as a real-time clock. More...
 
class  WatchdogSignal
 Simple API to handle watchdog signals. More...
 

Enumerations

enum class  TimeOut : uint8_t {
  TO_16ms = 0 ,
  TO_32ms ,
  TO_64ms ,
  TO_125ms ,
  TO_250ms ,
  TO_500ms ,
  TO_1s ,
  TO_2s ,
  TO_4s ,
  TO_8s
}
 Defines the watchdog timeout period; watchdog interrupts will be triggered at the selected period. More...
 

Detailed Description

Defines the simple API for Watchdog timer management.

Enumeration Type Documentation

◆ TimeOut

enum class watchdog::TimeOut : uint8_t
strong

Defines the watchdog timeout period; watchdog interrupts will be triggered at the selected period.

The MCU will be awakened at this period too. Note that watchdog timeout period is not very accurate, you would normally not use for real-time counting.

Enumerator
TO_16ms 

Watchdog timeout 16 ms.

TO_32ms 

Watchdog timeout 32 ms.

TO_64ms 

Watchdog timeout 64 ms.

TO_125ms 

Watchdog timeout 125 ms.

TO_250ms 

Watchdog timeout 250 ms.

TO_500ms 

Watchdog timeout 500 ms.

TO_1s 

Watchdog timeout 1 second.

TO_2s 

Watchdog timeout 2 seconds.

TO_4s 

Watchdog timeout 4 seconds.

TO_8s 

Watchdog timeout 8 seconds.

Definition at line 109 of file watchdog.h.