65typedef enum : uintptr_t {
102typedef enum : uintptr_t {
139typedef enum : uint8_t {
163typedef enum : uint8_t {
182typedef enum : uint8_t {
197typedef enum : uint8_t {
213typedef enum : uint8_t {
226typedef enum : uint8_t {
241typedef enum : uint8_t {
257typedef enum : uint32_t {
275typedef enum : uint32_t {
291typedef enum : uint8_t {
316 return (
volatile uint8_t*)(uintptr_t)off;
338 return (
volatile uint32_t*)(uintptr_t)off;
ra8_lvd_sr_mask_t
Bit masks for PVDmSR (m channels only).
@ k_ra8_lvd_sr_mask_det
DET latched-crossing flag.
@ k_ra8_lvd_sr_mask_mon
MON live above-threshold flag.
ra8_lvd_pvdlr_t
PVDLR (Voltage Monitor Lock Register) field constants.
@ k_ra8_lvd_pvdlr_value_unlock
Write 0 to release lock.
@ k_ra8_lvd_pvdlr_mask_lock
LOCK bit position.
@ k_ra8_lvd_pvdlr_value_relock
Any nonzero re-locks forever.
ra8_lvd_filter_const_t
Constants used by ra8_lvd_filter_delay_us.
@ k_ra8_lvd_filter_extra
"+3" LOCO cycles in HUM formula.
@ k_ra8_lvd_us_per_sec
Microseconds per second.
@ k_ra8_lvd_filter_factor
"2s" multiplier in HUM formula.
@ k_ra8_lvd_loco_hz_default
Nominal RA8D2 LOCO frequency.
ra8_lvd_cr0_mask_t
Bit masks and shifts for PVDmCR0 / PVDnCR0.
@ k_ra8_lvd_cr0_mask_re
RE (n) – reset-only enable.
@ k_ra8_lvd_cr0_mask_rn
RN reset-negate timing (m).
@ k_ra8_lvd_cr0_mask_n_bit6
Reserved bit6 – write-1 (n).
@ k_ra8_lvd_cr0_mask_cmpe
CMPE comparator-output enable.
@ k_ra8_lvd_cr0_mask_ri
RI reset-on-cross select (m).
@ k_ra8_lvd_cr0_mask_rie
RIE (m) – IRQ/reset enable.
@ k_ra8_lvd_cr0_mask_bit3
Reserved bit3 – write-1 (m).
@ k_ra8_lvd_cr0_mask_dfdis
DFDIS digital-filter disable.
@ k_ra8_lvd_cr0_mask_fsamp
FSAMP[1:0] divider field.
ra8_lvd_cr1_mask_t
Bit masks for PVDmCR1 (m channels only).
@ k_ra8_lvd_cr1_mask_irqsel
IRQSEL maskable / NMI selector.
@ k_ra8_lvd_cr1_mask_idtsel
IDTSEL[1:0] edge-select field.
ra8_lvd_pvdsar_mask_t
PVDSAR (PVD Security Attribution Register) bit masks.
@ k_ra8_lvd_pvdsar_mask_all
Both PVD1 + PVD2 NS.
@ k_ra8_lvd_pvdsar_mask_nonsec1
NONSEC1: PVD2 -> NS.
@ k_ra8_lvd_pvdsar_mask_nonsec0
NONSEC0: PVD1 -> NS.
static volatile uint8_t * ra8_lvd_reg8(ra8_lvd_off_t off)
Get a volatile uint8_t* to a PVD 8-bit register.
static volatile uint32_t * ra8_lvd_reg32(ra8_lvd_off_t off)
Get a volatile uint32_t* to a PVD 32-bit register.
ra8_lvd_misc_const_t
Miscellaneous PVD constants.
@ k_ra8_lvd_nmi_channel_count
PVD1 + PVD2 (m channels).
ra8_lvd_off_t
Absolute addresses of every PVD-related register on the RA8D2.
@ k_ra8_lvd_pvd5_cmpcr_off
PVD5CMPCR.
@ k_ra8_lvd_pvd1_cr1_off
PVD1CR1.
@ k_ra8_lvd_pvd1_fcr_off
PVD1FCR.
@ k_ra8_lvd_pvd1_sr_off
PVD1SR.
@ k_ra8_lvd_pvd5_fcr_off
PVD5FCR.
@ k_ra8_lvd_pvd2_cr1_off
PVD2CR1.
@ k_ra8_lvd_pvd1_cr0_off
PVD1CR0.
@ k_ra8_lvd_pvd4_fcr_off
PVD4FCR.
@ k_ra8_lvd_pvd5_cr0_off
PVD5CR0.
@ k_ra8_lvd_pvdlr_off
PVDLR.
@ k_ra8_lvd_pvd2_cmpcr_off
PVD2CMPCR.
@ k_ra8_lvd_pvd1_cmpcr_off
PVD1CMPCR.
@ k_ra8_lvd_pvd2_sr_off
PVD2SR.
@ k_ra8_lvd_pvd2_cr0_off
PVD2CR0.
@ k_ra8_lvd_pvdsar_off
PVDSAR.
@ k_ra8_lvd_pvd2_fcr_off
PVD2FCR.
@ k_ra8_lvd_pvd4_cmpcr_off
PVD4CMPCR.
@ k_ra8_lvd_pvd4_cr0_off
PVD4CR0.
ra8_lvd_cmpcr_mask_t
Bit masks for PVDmCMPCR / PVDnCMPCR.
@ k_ra8_lvd_cmpcr_mask_pvdlvl
PVDLVL[4:0] threshold field.
@ k_ra8_lvd_cmpcr_mask_pvde
PVDE detector enable.
ra8_lvd_fcr_mask_t
Bit mask for PVDmFCR / PVDnFCR.
@ k_ra8_lvd_fcr_mask_rhsel
RHSEL hysteresis-band selector.
ra8_lvd_base_addr_t
Memory-mapped base addresses backing the PVD register window.
@ k_ra8_lvd_cpscu_base_addr
R_CPSCU base.
@ k_ra8_lvd_sysc_base_addr
R_SYSTEM (SYSC) base.
ra8_lvd_cr0_shift_t
Bit shifts for PVDmCR0 / PVDnCR0 multi-bit fields.
@ k_ra8_lvd_cr0_shift_fsamp
FSAMP[1:0] starts at bit 4.