94typedef enum : uint16_t {
111typedef enum : uint16_t {
151typedef enum : uint8_t {
160typedef enum : uint32_t {
176typedef enum : uint8_t {
186typedef enum : uint32_t {
210typedef enum : uint8_t {
227typedef enum : uint32_t {
250typedef enum : uint8_t {
259typedef enum : uint32_t {
274typedef enum : uint8_t {
283typedef enum : uint32_t {
298typedef enum : uint8_t {
307typedef enum : uint32_t {
324typedef enum : uint8_t {
334typedef enum : uint32_t {
351typedef enum : uint32_t {
366typedef enum : uint32_t {
382typedef enum : uint8_t {
393typedef enum : uint32_t {
409typedef enum : uint8_t {
418typedef enum : uint32_t {
431typedef enum : uint32_t {
445typedef enum : uint32_t {
461typedef enum : uint8_t {
470typedef enum : uint32_t {
484typedef enum : uint32_t {
501typedef enum : uint8_t {
513typedef enum : uint32_t {
533typedef enum : uint32_t {
571typedef enum : uint32_t {
601typedef enum : uint32_t {
626typedef enum : uint32_t {
640typedef enum : uint32_t {
651typedef enum : uint32_t {
664typedef enum : uint32_t {
Annotation-attribute framework macros for ra8-firmware.
#define RA8_HW_REGISTER_ACCESS
Mark an MMIO accessor function (returns volatile register pointer).
ra8_ceu_camcr_mask_t
CAMCR field masks.
@ k_ra8_ceu_camcr_mask_hdpol
RA8 CEU camcr mask hdpol.
@ k_ra8_ceu_camcr_mask_jpg
RA8 CEU camcr mask jpg.
@ k_ra8_ceu_camcr_mask_fldsel
RA8 CEU camcr mask fldsel.
@ k_ra8_ceu_camcr_mask_dtary
RA8 CEU camcr mask dtary.
@ k_ra8_ceu_camcr_mask_dtif
RA8 CEU camcr mask dtif.
@ k_ra8_ceu_camcr_mask_vdsel
RA8 CEU camcr mask vdsel.
@ k_ra8_ceu_camcr_mask_dsel
RA8 CEU camcr mask dsel.
@ k_ra8_ceu_camcr_mask_vdpol
RA8 CEU camcr mask vdpol.
@ k_ra8_ceu_camcr_mask_hdsel
RA8 CEU camcr mask hdsel.
@ k_ra8_ceu_camcr_mask_fldpol
RA8 CEU camcr mask fldpol.
ra8_ceu_capwr_mask_t
CAPWR field masks.
@ k_ra8_ceu_capwr_mask_vwdth
RA8 CEU capwr mask vwdth.
@ k_ra8_ceu_capwr_mask_hwdth
RA8 CEU capwr mask hwdth.
ra8_ceu_capcr_shift_t
CAPCR (offset 0x0004) field shifts.
@ k_ra8_ceu_capcr_shift_fdrp
FDRP[7:0] @ [31:24].
@ k_ra8_ceu_capcr_shift_mtcm
MTCM[1:0] @ [21:20].
@ k_ra8_ceu_capcr_shift_ctncp
CTNCP @ bit 16.
ra8_ceu_cbdsr_mask_t
CBDSR (offset 0x004C) bit masks.
@ k_ra8_ceu_cbdsr_mask_cbvs
CBVS[22:0] bundle size.
ra8_ceu_cfwcr_mask_t
CFWCR field masks.
@ k_ra8_ceu_cfwcr_mask_fwv
FWV[26:0] @ [31:5].
@ k_ra8_ceu_cfwcr_mask_fwe
FWE: enable.
ra8_ceu_firewall_align_t
CFWCR.FWV alignment.
@ k_ra8_ceu_firewall_align_mask
RA8 CEU firewall align mask.
ra8_ceu_capsr_mask_t
CAPSR bit masks (full 32-bit register).
@ k_ra8_ceu_capsr_mask_cpkil
CPKIL: software reset bit.
@ k_ra8_ceu_capsr_mask_ce
CE: capture-enable bit.
ra8_ceu_cflcr_shift_t
CFLCR (offset 0x0030) field shifts.
@ k_ra8_ceu_cflcr_shift_hfrac
RA8 CEU cflcr shift hfrac.
@ k_ra8_ceu_cflcr_shift_hmant
RA8 CEU cflcr shift hmant.
@ k_ra8_ceu_cflcr_shift_vmant
RA8 CEU cflcr shift vmant.
@ k_ra8_ceu_cflcr_shift_vfrac
RA8 CEU cflcr shift vfrac.
ra8_ceu_evt_mask_group_t
Convenience groupings of CETCR events for callbacks.
@ k_ra8_ceu_evt_mask_all_end
RA8 CEU evt mask all end.
@ k_ra8_ceu_evt_mask_all_errors
RA8 CEU evt mask all errors.
@ k_ra8_ceu_evt_mask_all
RA8 CEU evt mask all.
@ k_ra8_ceu_evt_mask_all_sync
RA8 CEU evt mask all sync.
@ k_ra8_ceu_evt_mask_all_bundle
RA8 CEU evt mask all bundle.
ra8_ceu_cmcyr_shift_t
CMCYR (offset 0x000C) field shifts.
@ k_ra8_ceu_cmcyr_shift_hcyl
HCYL[13:0] @ [13:0].
@ k_ra8_ceu_cmcyr_shift_vcyl
VCYL[13:0] @ [29:16].
ra8_ceu_clfcr_mask_t
CLFCR (offset 0x0060) bit masks.
@ k_ra8_ceu_clfcr_mask_lpf
LPF: enable LPF.
ra8_ceu_caifr_shift_t
CAIFR (offset 0x0018) field shifts.
@ k_ra8_ceu_caifr_shift_fci
FCI[1:0] @ [1:0].
@ k_ra8_ceu_caifr_shift_cim
CIM @ bit 4.
@ k_ra8_ceu_caifr_shift_ifs
IFS @ bit 8.
ra8_ceu_cdwdr_mask_t
CDWDR (offset 0x0038) bit masks.
@ k_ra8_ceu_cdwdr_mask_chdw
CHDW[12:0] stride.
ra8_ceu_cstsr_mask_t
CSTSR (offset 0x007C) status bit masks.
@ k_ra8_ceu_cstsr_mask_crst
CRST: reset in flight.
@ k_ra8_ceu_cstsr_mask_cpfld
CPFLD: current field.
@ k_ra8_ceu_cstsr_mask_cpton
CPTON: capture running.
ra8_ceu_cdocr_shift_t
CDOCR (offset 0x0064) field shifts.
@ k_ra8_ceu_cdocr_shift_cols
RA8 CEU cdocr shift cols.
@ k_ra8_ceu_cdocr_shift_cbe
RA8 CEU cdocr shift cbe.
@ k_ra8_ceu_cdocr_shift_cobs
RA8 CEU cdocr shift cobs.
@ k_ra8_ceu_cdocr_shift_cows
RA8 CEU cdocr shift cows.
@ k_ra8_ceu_cdocr_shift_cds
RA8 CEU cdocr shift cds.
ra8_ceu_cdocr_mask_t
CDOCR field masks.
@ k_ra8_ceu_cdocr_mask_cbe
RA8 CEU cdocr mask cbe.
@ k_ra8_ceu_cdocr_mask_cows
RA8 CEU cdocr mask cows.
@ k_ra8_ceu_cdocr_mask_cobs
RA8 CEU cdocr mask cobs.
@ k_ra8_ceu_cdocr_mask_cds
RA8 CEU cdocr mask cds.
@ k_ra8_ceu_cdocr_mask_cols
RA8 CEU cdocr mask cols.
ra8_ceu_camor_shift_t
CAMOR (offset 0x0010) field shifts.
@ k_ra8_ceu_camor_shift_hofst
HOFST[12:0] @ [12:0].
@ k_ra8_ceu_camor_shift_vofst
VOFST[11:0] @ [27:16].
ra8_ceu_capsr_bit_t
CAPSR (offset 0x0000) bit positions.
@ k_ra8_ceu_capsr_bit_cpkil
CPKIL @ bit 16.
@ k_ra8_ceu_capsr_bit_ce
CE @ bit 0.
ra8_ceu_cflcr_mask_t
CFLCR field masks.
@ k_ra8_ceu_cflcr_mask_vfrac
RA8 CEU cflcr mask vfrac.
@ k_ra8_ceu_cflcr_mask_vmant
RA8 CEU cflcr mask vmant.
@ k_ra8_ceu_cflcr_mask_hmant
RA8 CEU cflcr mask hmant.
@ k_ra8_ceu_cflcr_mask_hfrac
RA8 CEU cflcr mask hfrac.
ra8_ceu_capwr_shift_t
CAPWR (offset 0x0014) field shifts.
@ k_ra8_ceu_capwr_shift_vwdth
VWDTH[11:0] @ [27:16].
@ k_ra8_ceu_capwr_shift_hwdth
HWDTH[12:0] @ [12:0].
ra8_ceu_cetcr_mask_t
CETCR (offset 0x0074) event flag bit positions.
@ k_ra8_ceu_evt_firewall
FWF: firewall-address fault.
@ k_ra8_ceu_evt_cpbe2
CPBE2: bundle 2 write end.
@ k_ra8_ceu_evt_igrw
IGRW: illegal register write.
@ k_ra8_ceu_evt_vd_missing
NVD: VD expected but absent.
@ k_ra8_ceu_evt_hd_missing
NHD: HD expected but absent.
@ k_ra8_ceu_evt_cram_overflow
CDTOF: CRAM overflow.
@ k_ra8_ceu_evt_cpbe3
CPBE3: bundle 3 write end.
@ k_ra8_ceu_evt_vd_mismatch
IGVS: VD line-count mismatch.
@ k_ra8_ceu_evt_hd_mismatch
IGHS: HD line-count mismatch.
@ k_ra8_ceu_evt_hd
HD: horizontal sync.
@ k_ra8_ceu_evt_cpbe1
CPBE1: bundle 1 write end.
@ k_ra8_ceu_evt_vd_error
VBP: invalid VD condition.
@ k_ra8_ceu_evt_cpbe4
CPBE4: bundle 4 write end.
@ k_ra8_ceu_evt_cpe
CPE: one-frame capture end.
@ k_ra8_ceu_evt_cfe
CFE: one-field capture end.
@ k_ra8_ceu_evt_vd
VD: vertical sync.
ra8_ceu_crcntr_mask_t
CRCNTR (offset 0x0028) bit masks.
@ k_ra8_ceu_crcntr_mask_rvs
RVS: VD-sync update.
@ k_ra8_ceu_crcntr_mask_rc
RC: enable Plane A.
@ k_ra8_ceu_crcntr_mask_rs
RS: enable Plane B.
ra8_ceu_cfwcr_shift_t
CFWCR (offset 0x005C) field shifts.
@ k_ra8_ceu_cfwcr_shift_fwe
RA8 CEU cfwcr shift fwe.
@ k_ra8_ceu_cfwcr_shift_fwv
RA8 CEU cfwcr shift fwv.
ra8_ceu_plane_off_t
Plane stride between Plane A, Plane B, and the mirror view.
@ k_ra8_ceu_plane_mirror_off
Mirror (inactive plane).
@ k_ra8_ceu_plane_a_off
Plane A (active).
@ k_ra8_ceu_plane_b_off
Plane B (shadow).
static volatile uint32_t * ra8_ceu_reg32(ra8_ceu_off_t offset)
Pointer to a 32-bit register inside the CEU window.
ra8_ceu_align_t
Capture buffer alignment requirement.
@ k_ra8_ceu_buffer_align_bytes
RA8 CEU buffer align bytes.
ra8_ceu_camor_mask_t
CAMOR field masks.
@ k_ra8_ceu_camor_mask_vofst
VOFST @ [27:16].
@ k_ra8_ceu_camor_mask_hofst
HOFST @ [12:0].
ra8_ceu_capcr_mask_t
CAPCR field masks.
@ k_ra8_ceu_capcr_mask_fdrp
FDRP[7:0] frame-drop cnt.
@ k_ra8_ceu_capcr_mask_mtcm
MTCM[1:0] burst-size sel.
@ k_ra8_ceu_capcr_mask_ctncp
CTNCP: continuous mode.
ra8_ceu_cfszr_shift_t
CFSZR (offset 0x0034) field shifts.
@ k_ra8_ceu_cfszr_shift_hfclp
RA8 CEU cfszr shift hfclp.
@ k_ra8_ceu_cfszr_shift_vfclp
RA8 CEU cfszr shift vfclp.
static volatile uint32_t * ra8_ceu_reg32_plane(ra8_ceu_off_t offset, ra8_ceu_plane_off_t plane)
Pointer to a 32-bit register on a specific CEU plane.
ra8_ceu_cfszr_mask_t
CFSZR field masks.
@ k_ra8_ceu_cfszr_mask_vfclp
RA8 CEU cfszr mask vfclp.
@ k_ra8_ceu_cfszr_mask_hfclp
RA8 CEU cfszr mask hfclp.
ra8_ceu_camcr_shift_t
CAMCR (offset 0x0008) field shifts.
@ k_ra8_ceu_camcr_shift_dtary
DTARY[1:0] @ [9:8].
@ k_ra8_ceu_camcr_shift_hdsel
HDSEL @ bit 26.
@ k_ra8_ceu_camcr_shift_dtif
DTIF @ bit 12.
@ k_ra8_ceu_camcr_shift_vdsel
VDSEL @ bit 27.
@ k_ra8_ceu_camcr_shift_fldpol
FLDPOL @ bit 16.
@ k_ra8_ceu_camcr_shift_hdpol
HDPOL @ bit 0.
@ k_ra8_ceu_camcr_shift_jpg
JPG[1:0] @ [5:4].
@ k_ra8_ceu_camcr_shift_dsel
DSEL @ bit 24.
@ k_ra8_ceu_camcr_shift_fldsel
FLDSEL @ bit 25.
@ k_ra8_ceu_camcr_shift_vdpol
VDPOL @ bit 1.
ra8_ceu_caifr_mask_t
CAIFR field masks.
@ k_ra8_ceu_caifr_mask_fci
FCI[1:0] mask.
@ k_ra8_ceu_caifr_mask_cim
CIM mask.
@ k_ra8_ceu_caifr_mask_ifs
IFS mask.
ra8_ceu_off_t
Plane A register offsets inside the CEU window.
@ k_ra8_ceu_off_capwr
Camera Interface Width Register.
@ k_ra8_ceu_off_cdbcr
Capture Data C Bottom-Field Register.
@ k_ra8_ceu_off_cfszr
Capture Filter Size Clip Register.
@ k_ra8_ceu_off_crcmpr
Register Forcible Control Register.
@ k_ra8_ceu_off_cdocr
Capture Data Output Control Register.
@ k_ra8_ceu_off_camor
Camera Interface Offset Register.
@ k_ra8_ceu_off_crcntr
Register Control Register.
@ k_ra8_ceu_off_caifr
Camera Interface Input Format Register.
@ k_ra8_ceu_off_cmcyr
Camera Interface Cycle Register.
@ k_ra8_ceu_off_cetcr
Capture Event Flag Clear Register.
@ k_ra8_ceu_off_cdacr
Capture Data C Address Register.
@ k_ra8_ceu_off_cfwcr
Firewall Operation Control Register.
@ k_ra8_ceu_off_cdssr
Capture Data Size Status Register.
@ k_ra8_ceu_off_capcr
Capture Control Register.
@ k_ra8_ceu_off_cdbcr2
Capture Data C2 Bottom-Field Register.
@ k_ra8_ceu_off_cdwdr
Capture Destination Width Register.
@ k_ra8_ceu_off_cflcr
Capture Filter Control Register.
@ k_ra8_ceu_off_cstsr
Capture Status Register (R).
@ k_ra8_ceu_off_cdbyr2
Capture Data Y2 Bottom-Field Register.
@ k_ra8_ceu_off_cdayr
Capture Data Y Address Register.
@ k_ra8_ceu_off_cdayr2
Capture Data Y Address Register 2.
@ k_ra8_ceu_off_camcr
Camera Interface Control Register.
@ k_ra8_ceu_off_ceier
Capture Event Interrupt Enable Register.
@ k_ra8_ceu_off_cdacr2
Capture Data C Address Register 2.
@ k_ra8_ceu_off_cbdsr
Capture Bundle Destination Size.
@ k_ra8_ceu_off_cdbyr
Capture Data Y Bottom-Field Register.
@ k_ra8_ceu_off_capsr
Capture Start Register.
@ k_ra8_ceu_off_clfcr
Capture Low-Pass Filter Control.
ra8_ceu_cdssr_mask_t
CDSSR (offset 0x0084) bit mask.
@ k_ra8_ceu_cdssr_mask_cdss
CDSS[31:0] data byte count.
ra8_ceu_crcmpr_mask_t
CRCMPR (offset 0x002C) bit masks.
@ k_ra8_ceu_crcmpr_mask_ra
RA: force plane swap.
ra8_ceu_cmcyr_mask_t
CMCYR field masks.
@ k_ra8_ceu_cmcyr_mask_vcyl
VCYL[13:0] @ [29:16].
@ k_ra8_ceu_cmcyr_mask_hcyl
HCYL[13:0] @ [13:0].
ra8_ceu_burst_align_t
CBDSR write-granularity alignment.
@ k_ra8_ceu_bundle_align_mask
RA8 CEU bundle align mask.
Graphics LCD Controller (GLCDC) register layout for the RA8D2.
@ k_ra8_ceu_base_addr
RA8 CEU base address.