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

Configuration descriptor for ra8_ssie_init. More...

#include <ra8_ssie.h>

Data Fields

ra8_ssie_role_t role
 Controller or peripheral.
ra8_ssie_format_t format
 I2S / TDM / monaural.
ra8_ssie_data_word_t data_word
 Significant bits per channel.
ra8_ssie_system_word_t system_word
 Total bits per channel.
ra8_ssie_bclk_div_t bclk_div
 CKDV divider (controller only).
bool use_gpt_clk
 true: GTIOC2A; false: AUDIO_CLK.
bool long_frame
 true: SSICR.DEL = 0 (long).
bool bckp_rising
 true: SSICR.BCKP = 1.
bool lrckp_low
 true: SSICR.LRCKP = 1.
bool spdp_high
 true: SSICR.SPDP = 1.
bool byte_swap
 SSIFCR.BSW.
bool lr_continue
 SSIOFR.LRCONT (controller only).
bool bck_idle_stop
 SSIOFR.BCKASTP (controller only).
bool enable_aucke
 SSIFCR.AUCKE (controller only).
uint8_t tx_threshold
 SSISCR.TDES[4:0] watermark.
uint8_t rx_threshold
 SSISCR.RDFS[4:0] watermark.

Detailed Description

Configuration descriptor for ra8_ssie_init.

cppcheck cannot see tests/ so it flags every field as unused; each member is read by ra8_ssie_init in libs/ra8_hal/src/ra8_ssie.c.

Definition at line 246 of file ra8_ssie.h.

Field Documentation

◆ bck_idle_stop

bool ra8_ssie_cfg_t::bck_idle_stop

SSIOFR.BCKASTP (controller only).

Definition at line 259 of file ra8_ssie.h.

Referenced by internal_build_ssiofr().

◆ bckp_rising

bool ra8_ssie_cfg_t::bckp_rising

true: SSICR.BCKP = 1.

Definition at line 254 of file ra8_ssie.h.

Referenced by internal_build_ssicr().

◆ bclk_div

ra8_ssie_bclk_div_t ra8_ssie_cfg_t::bclk_div

CKDV divider (controller only).

Definition at line 251 of file ra8_ssie.h.

Referenced by internal_build_ssicr().

◆ byte_swap

bool ra8_ssie_cfg_t::byte_swap

SSIFCR.BSW.

Definition at line 257 of file ra8_ssie.h.

Referenced by internal_build_ssifcr().

◆ data_word

ra8_ssie_data_word_t ra8_ssie_cfg_t::data_word

Significant bits per channel.

Definition at line 249 of file ra8_ssie.h.

Referenced by internal_build_ssicr().

◆ enable_aucke

bool ra8_ssie_cfg_t::enable_aucke

SSIFCR.AUCKE (controller only).

Definition at line 260 of file ra8_ssie.h.

Referenced by internal_build_ssifcr().

◆ format

ra8_ssie_format_t ra8_ssie_cfg_t::format

I2S / TDM / monaural.

Definition at line 248 of file ra8_ssie.h.

Referenced by internal_validate_init_cfg().

◆ long_frame

bool ra8_ssie_cfg_t::long_frame

true: SSICR.DEL = 0 (long).

Definition at line 253 of file ra8_ssie.h.

Referenced by internal_build_ssicr().

◆ lr_continue

bool ra8_ssie_cfg_t::lr_continue

SSIOFR.LRCONT (controller only).

Definition at line 258 of file ra8_ssie.h.

Referenced by internal_build_ssiofr().

◆ lrckp_low

bool ra8_ssie_cfg_t::lrckp_low

true: SSICR.LRCKP = 1.

Definition at line 255 of file ra8_ssie.h.

Referenced by internal_build_ssicr().

◆ role

ra8_ssie_role_t ra8_ssie_cfg_t::role

Controller or peripheral.

Definition at line 247 of file ra8_ssie.h.

Referenced by internal_build_ssicr(), internal_build_ssifcr(), and internal_build_ssiofr().

◆ rx_threshold

uint8_t ra8_ssie_cfg_t::rx_threshold

SSISCR.RDFS[4:0] watermark.

Definition at line 262 of file ra8_ssie.h.

Referenced by internal_apply_init_regs(), and internal_validate_init_cfg().

◆ spdp_high

bool ra8_ssie_cfg_t::spdp_high

true: SSICR.SPDP = 1.

Definition at line 256 of file ra8_ssie.h.

Referenced by internal_build_ssicr().

◆ system_word

ra8_ssie_system_word_t ra8_ssie_cfg_t::system_word

Total bits per channel.

Definition at line 250 of file ra8_ssie.h.

Referenced by internal_build_ssicr().

◆ tx_threshold

uint8_t ra8_ssie_cfg_t::tx_threshold

SSISCR.TDES[4:0] watermark.

Definition at line 261 of file ra8_ssie.h.

Referenced by internal_apply_init_regs(), and internal_validate_init_cfg().

◆ use_gpt_clk

bool ra8_ssie_cfg_t::use_gpt_clk

true: GTIOC2A; false: AUDIO_CLK.

Definition at line 252 of file ra8_ssie.h.

Referenced by internal_build_ssicr().


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