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

Memory-mapped layout of one WDT instance. More...

#include <ra8_wdt_regs.h>

Data Fields

volatile uint8_t WDTRR
 +0x00 Refresh register.
volatile uint8_t _r0
 +0x01 Reserved.
volatile uint16_t WDTCR
 +0x02 Control register.
volatile uint16_t WDTSR
 +0x04 Status register.
volatile uint8_t WDTRCR
 +0x06 Reset control register.
volatile uint8_t _r1
 +0x07 Reserved.
volatile uint8_t WDTCSTPR
 +0x08 Count-stop control.
volatile uint8_t _r2
 +0x09 Reserved.
volatile uint16_t _r3
 +0x0A Reserved (pads to 0x0C).

Detailed Description

Memory-mapped layout of one WDT instance.

The RA8D2 WDT block is 12 bytes (0x0C) wide – matches the FSP R_WDT_Type in R7KA8D2KF_core0.h exactly. Reserved padding is named _rN so the layout is unambiguous to a debugger.

See also
HUM Ch 27.2 "Register Descriptions" p 1256 (table) and the individual subsections for each register.

Definition at line 276 of file ra8_wdt_regs.h.

Field Documentation

◆ _r0

volatile uint8_t r_wdt_regs_t::_r0

+0x01 Reserved.

Definition at line 279 of file ra8_wdt_regs.h.

◆ _r1

volatile uint8_t r_wdt_regs_t::_r1

+0x07 Reserved.

Definition at line 283 of file ra8_wdt_regs.h.

◆ _r2

volatile uint8_t r_wdt_regs_t::_r2

+0x09 Reserved.

Definition at line 285 of file ra8_wdt_regs.h.

◆ _r3

volatile uint16_t r_wdt_regs_t::_r3

+0x0A Reserved (pads to 0x0C).

Definition at line 286 of file ra8_wdt_regs.h.

◆ WDTCR

volatile uint16_t r_wdt_regs_t::WDTCR

+0x02 Control register.

Definition at line 280 of file ra8_wdt_regs.h.

Referenced by ra8_wdt_init().

◆ WDTCSTPR

volatile uint8_t r_wdt_regs_t::WDTCSTPR

+0x08 Count-stop control.

Definition at line 284 of file ra8_wdt_regs.h.

Referenced by ra8_wdt_deinit(), ra8_wdt_enter_stop(), ra8_wdt_exit_stop(), and ra8_wdt_init().

◆ WDTRCR

volatile uint8_t r_wdt_regs_t::WDTRCR

+0x06 Reset control register.

Definition at line 282 of file ra8_wdt_regs.h.

Referenced by ra8_wdt_init().

◆ WDTRR

volatile uint8_t r_wdt_regs_t::WDTRR

+0x00 Refresh register.

Definition at line 278 of file ra8_wdt_regs.h.

Referenced by ra8_wdt_refresh(), and ra8_wdt_refresh_instance().

◆ WDTSR

volatile uint16_t r_wdt_regs_t::WDTSR

+0x04 Status register.

Definition at line 281 of file ra8_wdt_regs.h.

Referenced by ra8_wdt_clear_status(), ra8_wdt_clear_status_blocking(), and ra8_wdt_dispatch().


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