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

Decoded view of an OFSm option-setting word. More...

#include <ra8_wdt.h>

Collaboration diagram for ra8_wdt_ofs_decoded_t:

Data Fields

ra8_wdt_cfg_t cfg
 Decoded period / divider / window / etc.
ra8_wdt_ofs_strt_t start_mode
 OFSm.WDTnSTRT (auto vs register start).
bool auto_start
 Convenience flag = (start_mode == auto).

Detailed Description

Decoded view of an OFSm option-setting word.

Returned by ra8_wdt_ofs_get. cfg mirrors the same five fields as ra8_wdt_cfg_t (so the same caller code can compare "what I asked for" vs "what the boot ROM latched"); auto_start tells which mode the chip booted in.

Invariant
If auto_start is true, the runtime WDTCR/WDTRCR/ WDTCSTPR writes have no effect (HUM Ch 27.3.1 p 1263).

Definition at line 327 of file ra8_wdt.h.

Field Documentation

◆ auto_start

bool ra8_wdt_ofs_decoded_t::auto_start

Convenience flag = (start_mode == auto).

Definition at line 330 of file ra8_wdt.h.

Referenced by internal_decode_ofs_word().

◆ cfg

ra8_wdt_cfg_t ra8_wdt_ofs_decoded_t::cfg

Decoded period / divider / window / etc.

Definition at line 328 of file ra8_wdt.h.

Referenced by internal_decode_ofs_word().

◆ start_mode

ra8_wdt_ofs_strt_t ra8_wdt_ofs_decoded_t::start_mode

OFSm.WDTnSTRT (auto vs register start).

Definition at line 329 of file ra8_wdt.h.

Referenced by internal_decode_ofs_word().


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