ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
wdt_state_t Struct Reference

WDT model state. More...

Data Fields

uint16_t wdtcr
 WDTCR shadow (timeout / window select).
uint8_t wdtrcr
 WDTRCR shadow (RSTIRQS).
uint8_t last_rr
 Last WDTRR byte (for the 0x00->0xFF seq).
bool armed
 Counter is running (first refresh seen).
bool fired
 Reset already requested (one-shot).
uint32_t counter
 Down-counter, in ticks.
uint16_t undff
 UNDFF status latch.
uint32_t refreshes
 Refreshes serviced (for the report).

Detailed Description

WDT model state.

Definition at line 76 of file board_periph_wdt.c.

Field Documentation

◆ armed

bool wdt_state_t::armed

Counter is running (first refresh seen).

Definition at line 80 of file board_periph_wdt.c.

◆ counter

uint32_t wdt_state_t::counter

Down-counter, in ticks.

Definition at line 82 of file board_periph_wdt.c.

◆ fired

bool wdt_state_t::fired

Reset already requested (one-shot).

Definition at line 81 of file board_periph_wdt.c.

◆ last_rr

uint8_t wdt_state_t::last_rr

Last WDTRR byte (for the 0x00->0xFF seq).

Definition at line 79 of file board_periph_wdt.c.

◆ refreshes

uint32_t wdt_state_t::refreshes

Refreshes serviced (for the report).

Definition at line 84 of file board_periph_wdt.c.

◆ undff

uint16_t wdt_state_t::undff

UNDFF status latch.

Definition at line 83 of file board_periph_wdt.c.

◆ wdtcr

uint16_t wdt_state_t::wdtcr

WDTCR shadow (timeout / window select).

Definition at line 77 of file board_periph_wdt.c.

◆ wdtrcr

uint8_t wdt_state_t::wdtrcr

WDTRCR shadow (RSTIRQS).

Definition at line 78 of file board_periph_wdt.c.


The documentation for this struct was generated from the following file: