ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_usb.h File Reference

Native USB controller driver public API (device + host modes). More...

#include "ra8_usb_device.h"
#include "ra8_usb_host.h"
Include dependency graph for ra8_usb.h:

Go to the source code of this file.

Detailed Description

Native USB controller driver public API (device + host modes).

Hand-written, FSP-equivalent driver for the two USB controllers on the Renesas RA8D2 (USBFS @ 0x40250000, USBHS @ 0x40351000). Mirrors the bring-up flow of FSP's r_usb_basic / r_usb_pdriver.c (device) and r_usb_hreg_access.c (host) but compiled as part of this tree, with no Renesas FSP, CherryUSB, or TinyUSB binaries pulled in. The class-layer splits live in ra8_usb_cdc.{h,c} (device-side CDC ACM) and ra8_usb_hcdc.{h,c} (host-side CDC ACM).

Surface

This header is a thin umbrella: the shared public types and the device-mode surface live in ra8_usb_device.h, and the host-mode surface lives in ra8_usb_host.h. Consumers include ra8_usb.h and get the complete API unchanged.

Definition in file ra8_usb.h.