ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_camera_source_ceu.h
Go to the documentation of this file.
1
17
18#pragma once
19
20#include <stdint.h>
21
22#include "ra8_camera.h"
23#include "ra8_ceu.h"
24#include "ra8_err.h"
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
37
53
77
96[[nodiscard]] ra8_err_t
98 uint32_t* out_events);
99
100#ifdef __cplusplus
101}
102#endif
Transport-neutral camera source and image-codec facade.
ra8_err_t ra8_camera_source_ceu_get_last_events(const ra8_camera_source_ceu_state_t *state, uint32_t *out_events)
Read the most recent CEU event snapshot retained by the backend.
ra8_err_t ra8_camera_source_ceu_init(ra8_camera_source_t *source, ra8_camera_source_ceu_state_t *state, const ra8_camera_source_ceu_cfg_t *cfg)
Initialize the CEU and bind it as a generic camera source.
Capture Engine Unit (CEU) camera-capture driver.
ra8_ceu_capture_format_t
CAMCR.JPG capture-format select.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Definition ra8_err.h:546
Backend configuration, including native CEU register descriptor.
uint32_t poll_attempts
Maximum completion polls.
ra8_ceu_config_t ceu
HAL descriptor programmed at bind.
ra8_camera_source_info_t output
Frame metadata exposed to callers.
uint32_t poll_interval_ms
Delay between completion polls.
Caller-owned CEU source state.
uint32_t poll_attempts
Maximum completion polls.
bool initialized
Backend binding completed.
ra8_camera_source_info_t info
Validated output metadata.
uint32_t last_events
Latest raw CEU event snapshot.
uint32_t poll_interval_ms
Completion polling interval.
ra8_ceu_capture_format_t capture_format
Fixed-frame or data-enable mode.
Native geometry and worst-case storage required by a source.
Definition ra8_camera.h:114
Caller-owned handle binding one source backend and its context.
Definition ra8_camera.h:131
Full configuration descriptor for ra8_ceu_init.