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

Bus context handed to the ra8_sdmmc_spi transport callbacks. More...

Data Fields

uint8_t channel
 SCI Simple-SPI channel.
uint32_t pclka_hz
 PCLKA rate for the baud shim.
ra8_port_pin_t cs
 Chip-select GPIO pin.

Detailed Description

Bus context handed to the ra8_sdmmc_spi transport callbacks.

Populated once per ra8_sdfont_load call; not reentrant.

Since
0.1.0

Definition at line 76 of file ra8_sdfont.c.

Field Documentation

◆ channel

uint8_t sdfont_ctx_t::channel

SCI Simple-SPI channel.

Definition at line 77 of file ra8_sdfont.c.

Referenced by internal_set_clock(), and internal_xfer().

◆ cs

ra8_port_pin_t sdfont_ctx_t::cs

Chip-select GPIO pin.

Definition at line 79 of file ra8_sdfont.c.

Referenced by internal_cs().

◆ pclka_hz

uint32_t sdfont_ctx_t::pclka_hz

PCLKA rate for the baud shim.

Definition at line 78 of file ra8_sdfont.c.

Referenced by internal_set_clock().


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