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

Bus context handed to the factory's transport callbacks. More...

Data Fields

uint8_t channel
 SCI Simple-SPI channel index.
uint32_t pclka_hz
 PCLKA rate (Hz) for the baud shim.
ra8_port_pin_t cs
 Chip-select GPIO pin (active-low).

Detailed Description

Bus context handed to the factory's transport callbacks.

Populated once by ra8_sdmmc_spi_transport_sci and pointed at by the returned transport's ctx cookie; recovers the SCI channel, PCLKA rate, and chip-select pin inside each shim. Not reentrant.

Since
0.1.0

Definition at line 66 of file ra8_sdmmc_spi_io.c.

Field Documentation

◆ channel

uint8_t sci_bus_ctx_t::channel

SCI Simple-SPI channel index.

Definition at line 67 of file ra8_sdmmc_spi_io.c.

Referenced by internal_sci_transport_set_clock(), and internal_sci_transport_xfer().

◆ cs

ra8_port_pin_t sci_bus_ctx_t::cs

Chip-select GPIO pin (active-low).

Definition at line 69 of file ra8_sdmmc_spi_io.c.

Referenced by internal_sci_transport_cs().

◆ pclka_hz

uint32_t sci_bus_ctx_t::pclka_hz

PCLKA rate (Hz) for the baud shim.

Definition at line 68 of file ra8_sdmmc_spi_io.c.

Referenced by internal_sci_transport_set_clock().


The documentation for this struct was generated from the following file: