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

Singleton shadow state for the device-Audio function. More...

Collaboration diagram for ra8_usb_paud_state_t:

Data Fields

bool initialized
 True after init.
ra8_usb_speed_t speed
 Underlying controller.
uint16_t iso_max_packet
 Pipe max-packet size.
const uint8_t * desc
 Cached descriptor blob.
uint16_t desc_len
 Descriptor blob byte len.
ra8_usb_paud_format_t format
 Current iso format shadow.
int16_t volume_q8_8
 Current volume in Q8.8 dB.
ra8_usb_paud_setup_fn_t setup_cb
 Application class handler.
void * setup_ctx
 Class handler context.

Detailed Description

Singleton shadow state for the device-Audio function.

Definition at line 96 of file ra8_usb_paud.c.

Field Documentation

◆ desc

const uint8_t* ra8_usb_paud_state_t::desc

Cached descriptor blob.

Definition at line 100 of file ra8_usb_paud.c.

◆ desc_len

uint16_t ra8_usb_paud_state_t::desc_len

Descriptor blob byte len.

Definition at line 101 of file ra8_usb_paud.c.

◆ format

ra8_usb_paud_format_t ra8_usb_paud_state_t::format

Current iso format shadow.

Definition at line 102 of file ra8_usb_paud.c.

◆ initialized

bool ra8_usb_paud_state_t::initialized

True after init.

Definition at line 97 of file ra8_usb_paud.c.

◆ iso_max_packet

uint16_t ra8_usb_paud_state_t::iso_max_packet

Pipe max-packet size.

Definition at line 99 of file ra8_usb_paud.c.

◆ setup_cb

ra8_usb_paud_setup_fn_t ra8_usb_paud_state_t::setup_cb

Application class handler.

Definition at line 104 of file ra8_usb_paud.c.

◆ setup_ctx

void* ra8_usb_paud_state_t::setup_ctx

Class handler context.

Definition at line 105 of file ra8_usb_paud.c.

◆ speed

ra8_usb_speed_t ra8_usb_paud_state_t::speed

Underlying controller.

Definition at line 98 of file ra8_usb_paud.c.

◆ volume_q8_8

int16_t ra8_usb_paud_state_t::volume_q8_8

Current volume in Q8.8 dB.

Definition at line 103 of file ra8_usb_paud.c.


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