|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Video Input Module (VIN) driver – public API. More...
#include <stdint.h>#include "ra8_err.h"#include "ra8_vin_api.h"#include "ra8_vin_regs.h"#include "ra8_vin_types.h"Go to the source code of this file.
Video Input Module (VIN) driver – public API.
/ Round-3 driver for the RA8D2 Video Input Module (VIN). The block sits between the MIPI CSI-2 receiver and external SDRAM and writes captured frames into one of three memory-base buffers (MB1..MB3). It optionally pre-clips, scales (UDS), look-up-table remaps, and colour-space converts the data en-route.
The public API mirrors the register surface documented in HUM Ch 67 "Video Input Module" p 3973-4031:
The driver enforces NASA Power-of-10 rules: every loop has a fixed upper bound, every public function returns an ra8_err_t, and pre/ post-condition checks run in both release and unit-test builds.
Definition in file ra8_vin.h.