watchdog-timer-realtek-amebad  2.1.0
watchdog-timer-realtek-amebad
Macros
watchdog_timer_realtek_AmebaD_configuration.h File Reference

WATCHDOG TIMER REALTEK AMEBAD CCO configuration file. More...

#include <stdint.h>

Go to the source code of this file.

Macros

#define WATCHDOG_TIMER_REALTEK_AMEBAD_CONFIGURATION_VERSION   (1)
 Compatibility sanity check value. This define value is checked in the implementation to validate that the version of this configuration is compatible with the implementation. More...
 
#define WATCHDOG_TIMER_TIMEOUT_MS   30000
 The timeout (in milliseconds) of the hardware watchdog timer. More...
 
#define WATCHDOG_TIMER_INTERRUPT_MODE   0
 
#define WATCHDOG_TIMER_RESET_MODE   1
 
#define WATCHDOG_TIMER_MODE   WATCHDOG_TIMER_RESET_MODE
 Selects the watchdog mode. Reset mode selected by default.
 

Detailed Description

WATCHDOG TIMER REALTEK AMEBAD CCO configuration file.

Author
MicroEJ Developer Team
Version
2.1.0
Date
2 May 2022

Definition in file watchdog_timer_realtek_AmebaD_configuration.h.

Macro Definition Documentation

§ WATCHDOG_TIMER_INTERRUPT_MODE

#define WATCHDOG_TIMER_INTERRUPT_MODE   0

Watchdog mode

  • WATCHDOG_TIMER_INTERRUPT_MODE: interrupt CPU when Watchdog timer is triggered.
  • WATCHDOG_TIMER_RESET_MODE: reset the hardware when Watchdog timer is triggered.

Don't modify WATCHDOG_TIMER_INTERRUPT_MODE and WATCHDOG_TIMER_RESET_MODE constants.

Definition at line 52 of file watchdog_timer_realtek_AmebaD_configuration.h.

§ WATCHDOG_TIMER_REALTEK_AMEBAD_CONFIGURATION_VERSION

#define WATCHDOG_TIMER_REALTEK_AMEBAD_CONFIGURATION_VERSION   (1)

Compatibility sanity check value. This define value is checked in the implementation to validate that the version of this configuration is compatible with the implementation.

This value must not be changed by the user of the CCO. This value must be incremented by the implementor of the CCO when a configuration define is added, deleted or modified.

Definition at line 35 of file watchdog_timer_realtek_AmebaD_configuration.h.

§ WATCHDOG_TIMER_TIMEOUT_MS

#define WATCHDOG_TIMER_TIMEOUT_MS   30000

The timeout (in milliseconds) of the hardware watchdog timer.

Warning
Choose a value according your MCU datasheet.

Definition at line 42 of file watchdog_timer_realtek_AmebaD_configuration.h.