|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Per-channel register-offset bundle. More...
#include <ra8_lvd_internal.h>
Data Fields | |
| ra8_lvd_off_t | cmpcr |
| PVDxCMPCR offset. | |
| ra8_lvd_off_t | cr0 |
| PVDxCR0 offset. | |
| ra8_lvd_off_t | cr1 |
| PVDxCR1 (m only; n: same as cr0 stub). | |
| ra8_lvd_off_t | sr |
| PVDxSR (m only; n: same as cr0 stub). | |
| ra8_lvd_off_t | fcr |
| PVDxFCR (RHSEL). | |
| bool | has_irq |
| true for monitor m channels (1, 2). | |
Per-channel register-offset bundle.
Channels 1 and 2 use the m-series offsets and have valid CR1 / SR registers. Channels 4 and 5 use the n-series offsets and have no CR1 / SR (the has_irq flag flips them off). FCR is exposed for all four channels (HUM 8.2.8 m and 8.2.9 n).
Definition at line 48 of file ra8_lvd_internal.h.
| ra8_lvd_off_t ra8_lvd_channel_map_t::cmpcr |
PVDxCMPCR offset.
Definition at line 49 of file ra8_lvd_internal.h.
Referenced by internal_lvd_program_cmpcr(), ra8_lvd_channel_deinit(), ra8_lvd_set_hysteresis_mode(), and ra8_lvd_set_threshold().
| ra8_lvd_off_t ra8_lvd_channel_map_t::cr0 |
PVDxCR0 offset.
Definition at line 50 of file ra8_lvd_internal.h.
Referenced by internal_lvd_program_cmpcr(), internal_lvd_program_cr0_chain(), priv_ra8_lvd_internal_cr0_rmw(), priv_ra8_lvd_internal_read_ri(), and ra8_lvd_channel_deinit().
| ra8_lvd_off_t ra8_lvd_channel_map_t::cr1 |
PVDxCR1 (m only; n: same as cr0 stub).
Definition at line 51 of file ra8_lvd_internal.h.
Referenced by internal_program_cr1(), ra8_lvd_channel_deinit(), ra8_lvd_set_irq_edge(), and ra8_lvd_set_irq_kind().
| ra8_lvd_off_t ra8_lvd_channel_map_t::fcr |
PVDxFCR (RHSEL).
Definition at line 53 of file ra8_lvd_internal.h.
Referenced by internal_lvd_program_cmpcr(), ra8_lvd_channel_deinit(), ra8_lvd_set_hysteresis_mode(), and ra8_lvd_set_negate_mode().
| bool ra8_lvd_channel_map_t::has_irq |
true for monitor m channels (1, 2).
Definition at line 54 of file ra8_lvd_internal.h.
Referenced by internal_compose_cr0(), internal_cr0_apply_reserved(), internal_lvd_program_cr0_chain(), internal_validate_cfg(), ra8_lvd_attach_channel_handler(), ra8_lvd_channel_deinit(), ra8_lvd_clear_status(), ra8_lvd_configure_for_standby(), ra8_lvd_disable_elc_event(), ra8_lvd_disable_irq(), ra8_lvd_disable_reset(), ra8_lvd_dispatch(), ra8_lvd_enable_elc_event(), ra8_lvd_enable_irq(), ra8_lvd_enable_reset(), ra8_lvd_get_status(), ra8_lvd_set_hysteresis_mode(), ra8_lvd_set_irq_edge(), ra8_lvd_set_irq_kind(), and ra8_lvd_set_negate_mode().
| ra8_lvd_off_t ra8_lvd_channel_map_t::sr |
PVDxSR (m only; n: same as cr0 stub).
Definition at line 52 of file ra8_lvd_internal.h.
Referenced by internal_program_cr1(), ra8_lvd_channel_deinit(), ra8_lvd_clear_status(), ra8_lvd_dispatch(), ra8_lvd_enable_elc_event(), and ra8_lvd_get_status().