ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_ofs.h
Go to the documentation of this file.
1
50
51#pragma once
52
53#ifdef __cplusplus
54extern "C" {
55#endif
56
57#include <stdint.h>
58
86
136typedef enum : uintptr_t {
137 /* HUM Ch 7.2.1 "OFS0 : Option Function Select Register 0" p 280 */
138 k_ra8_ofs0_addr = 0x02C9F040UL,
139 /* HUM Ch 7.2.6 "OFS3, OFS3_SEC : Option Function Select Register 3" p 287 */
140 k_ra8_ofs3_addr = 0x12C9F4C4UL,
141 /* HUM Ch 7.2.6 "OFS3, OFS3_SEC : Option Function Select Register 3" p 287 */
142 k_ra8_ofs3_sec_addr = 0x02C9F0C4UL,
143 /* HUM Ch 7.2.7 "OFS3_SEL : Option Function Select Register 3 for Security" p 289 */
144 k_ra8_ofs3_sel_addr = 0x02C9F124UL,
146
171uint8_t ra8_ofs_word_count(void);
172
173#ifdef __cplusplus
174}
175#endif
ra8_ofs_word_t
Ordinal identity of each option-setting word present on this device.
Definition ra8_ofs.h:79
@ k_ra8_ofs_word_ofs2
OFS2: extended oscillator settings (both parts).
Definition ra8_ofs.h:82
@ k_ra8_ofs_word_ofs0
OFS0: IWDT/BOR/HOCO/security/TrustZone (both parts).
Definition ra8_ofs.h:80
@ k_ra8_ofs_word_count
OFS word count: 4 on both parts.
Definition ra8_ofs.h:84
@ k_ra8_ofs_word_ofs1
OFS1: LVD0 reset / VCC monitor (both parts).
Definition ra8_ofs.h:81
@ k_ra8_ofs_word_ofs3
OFS3: M33-side (CPU1) WDT1 fields (both parts).
Definition ra8_ofs.h:83
ra8_ofs_addr_t
Runtime-readable addresses of the option-setting words.
Definition ra8_ofs.h:136
@ k_ra8_ofs0_addr
OFS0 – IWDT + WDT0 fields (Secure).
Definition ra8_ofs.h:138
@ k_ra8_ofs3_sec_addr
OFS3_SEC – WDT1 fields (Secure).
Definition ra8_ofs.h:142
@ k_ra8_ofs3_addr
OFS3 – WDT1 fields (Non-secure alias).
Definition ra8_ofs.h:140
@ k_ra8_ofs3_sel_addr
OFS3_SEL – per-field S/NS selector.
Definition ra8_ofs.h:144
uint8_t ra8_ofs_word_count(void)
Return the number of option-setting words present on the device.
Definition ra8_ofs.c:230