|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Per-channel ACMPHS register window. More...
#include <ra8_acmphs_regs.h>
Data Fields | |
| volatile uint8_t | CMPCTL |
| +0x00 Control (enable, edges, filter). | |
| volatile uint8_t | _r0 [3] |
| Padding. | |
| volatile uint8_t | CMPSEL0 |
| +0x04 Plus-input selection. | |
| volatile uint8_t | _r1 [3] |
| Padding. | |
| volatile uint8_t | CMPSEL1 |
| +0x08 Minus-input selection. | |
| volatile uint8_t | _r2 [3] |
| Padding. | |
| volatile uint8_t | CMPMON |
| +0x0C Output monitor (read-only). | |
| volatile uint8_t | _r3 [3] |
| Padding. | |
| volatile uint8_t | CPIOC |
| +0x10 Output polarity / pin control. | |
| volatile uint8_t | _r4 [k_ra8_acmphs_reserved_mid] |
| Reserved. | |
| volatile uint8_t | CPINTCTL |
| +0x40 Interrupt control. | |
| volatile uint8_t | _r5 [3] |
| Padding. | |
| volatile uint8_t | CPMSKCTL |
| +0x44 Interrupt mask control. | |
Per-channel ACMPHS register window.
Verified against FSP R_ACMPHS0_Type in R7KA8D2KF_core0.h lines 3870-3959 (size = 0x45). The header previously modeled CMPFIR at offset 0x14; that register does not exist on RA8D2 – it was a legacy pre-RA8 field. The authoritative sequence is CMPCTL -> CMPSEL0 -> CMPSEL1 -> CMPMON -> CPIOC with a 47-byte gap up to CPINTCTL + CPMSKCTL at 0x40 / 0x44.
Definition at line 100 of file ra8_acmphs_regs.h.
| volatile uint8_t r_acmphs_regs_t::_r0[3] |
Padding.
Definition at line 102 of file ra8_acmphs_regs.h.
| volatile uint8_t r_acmphs_regs_t::_r1[3] |
Padding.
Definition at line 104 of file ra8_acmphs_regs.h.
| volatile uint8_t r_acmphs_regs_t::_r2[3] |
Padding.
Definition at line 106 of file ra8_acmphs_regs.h.
| volatile uint8_t r_acmphs_regs_t::_r3[3] |
Padding.
Definition at line 108 of file ra8_acmphs_regs.h.
| volatile uint8_t r_acmphs_regs_t::_r4[k_ra8_acmphs_reserved_mid] |
Reserved.
Definition at line 110 of file ra8_acmphs_regs.h.
| volatile uint8_t r_acmphs_regs_t::_r5[3] |
Padding.
Definition at line 112 of file ra8_acmphs_regs.h.
| volatile uint8_t r_acmphs_regs_t::CMPCTL |
+0x00 Control (enable, edges, filter).
Definition at line 101 of file ra8_acmphs_regs.h.
Referenced by internal_reset_channel(), ra8_acmphs_channel_deinit(), ra8_acmphs_channel_enable(), ra8_acmphs_channel_init(), ra8_acmphs_clear_status(), and ra8_acmphs_get_status().
| volatile uint8_t r_acmphs_regs_t::CMPMON |
+0x0C Output monitor (read-only).
Definition at line 107 of file ra8_acmphs_regs.h.
Referenced by ra8_acmphs_read_output().
| volatile uint8_t r_acmphs_regs_t::CMPSEL0 |
+0x04 Plus-input selection.
Definition at line 103 of file ra8_acmphs_regs.h.
Referenced by internal_reset_channel(), ra8_acmphs_channel_deinit(), ra8_acmphs_channel_init(), and ra8_acmphs_set_inputs().
| volatile uint8_t r_acmphs_regs_t::CMPSEL1 |
+0x08 Minus-input selection.
Definition at line 105 of file ra8_acmphs_regs.h.
Referenced by internal_reset_channel(), ra8_acmphs_channel_deinit(), ra8_acmphs_channel_init(), and ra8_acmphs_set_inputs().
| volatile uint8_t r_acmphs_regs_t::CPINTCTL |
+0x40 Interrupt control.
Definition at line 111 of file ra8_acmphs_regs.h.
| volatile uint8_t r_acmphs_regs_t::CPIOC |
+0x10 Output polarity / pin control.
Definition at line 109 of file ra8_acmphs_regs.h.
Referenced by internal_reset_channel().
| volatile uint8_t r_acmphs_regs_t::CPMSKCTL |
+0x44 Interrupt mask control.
Definition at line 113 of file ra8_acmphs_regs.h.