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

One modelled PDM channel: run/enable gates + synthetic-tone state. More...

Data Fields

bool running
 A PDCSTRTR bit started this channel.
bool read_enable
 PDDRCR.DATRE armed the data-read path.
uint32_t phase
 Triangle-tone sample phase (advances on read).
uint32_t lcg
 Per-channel dither LCG state.
uint32_t samples
 Total PDDRR reads served (report + console).

Detailed Description

One modelled PDM channel: run/enable gates + synthetic-tone state.

Definition at line 95 of file board_periph_pdm.c.

Field Documentation

◆ lcg

uint32_t pdm_channel_t::lcg

Per-channel dither LCG state.

Definition at line 99 of file board_periph_pdm.c.

Referenced by internal_pdm_next_sample().

◆ phase

uint32_t pdm_channel_t::phase

Triangle-tone sample phase (advances on read).

Definition at line 98 of file board_periph_pdm.c.

Referenced by internal_pdm_next_sample().

◆ read_enable

bool pdm_channel_t::read_enable

PDDRCR.DATRE armed the data-read path.

Definition at line 97 of file board_periph_pdm.c.

◆ running

bool pdm_channel_t::running

A PDCSTRTR bit started this channel.

Definition at line 96 of file board_periph_pdm.c.

◆ samples

uint32_t pdm_channel_t::samples

Total PDDRR reads served (report + console).

Definition at line 100 of file board_periph_pdm.c.

Referenced by internal_pdm_next_sample().


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