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

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

Collaboration diagram for ra8_usb_pprn_state_t:

Data Fields

bool initialized
 True after init.
ra8_usb_speed_t speed
 Underlying controller.
uint16_t bulk_max_packet
 Pipe max-packet size.
const uint8_t * desc
 Cached descriptor blob.
uint16_t desc_len
 Descriptor blob byte len.
const uint8_t * device_id
 Cached device-ID payload.
uint16_t device_id_len
 Device-ID byte length.
uint8_t port_status
 Current port-status byte.
ra8_usb_pprn_setup_fn_t setup_cb
 Application class handler.
void * setup_ctx
 Class handler context.

Detailed Description

Singleton shadow state for the device-Printer function.

Definition at line 74 of file ra8_usb_pprn.c.

Field Documentation

◆ bulk_max_packet

uint16_t ra8_usb_pprn_state_t::bulk_max_packet

Pipe max-packet size.

Definition at line 77 of file ra8_usb_pprn.c.

◆ desc

const uint8_t* ra8_usb_pprn_state_t::desc

Cached descriptor blob.

Definition at line 78 of file ra8_usb_pprn.c.

◆ desc_len

uint16_t ra8_usb_pprn_state_t::desc_len

Descriptor blob byte len.

Definition at line 79 of file ra8_usb_pprn.c.

◆ device_id

const uint8_t* ra8_usb_pprn_state_t::device_id

Cached device-ID payload.

Definition at line 80 of file ra8_usb_pprn.c.

◆ device_id_len

uint16_t ra8_usb_pprn_state_t::device_id_len

Device-ID byte length.

Definition at line 81 of file ra8_usb_pprn.c.

◆ initialized

bool ra8_usb_pprn_state_t::initialized

True after init.

Definition at line 75 of file ra8_usb_pprn.c.

◆ port_status

uint8_t ra8_usb_pprn_state_t::port_status

Current port-status byte.

Definition at line 82 of file ra8_usb_pprn.c.

◆ setup_cb

ra8_usb_pprn_setup_fn_t ra8_usb_pprn_state_t::setup_cb

Application class handler.

Definition at line 83 of file ra8_usb_pprn.c.

◆ setup_ctx

void* ra8_usb_pprn_state_t::setup_ctx

Class handler context.

Definition at line 84 of file ra8_usb_pprn.c.

◆ speed

ra8_usb_speed_t ra8_usb_pprn_state_t::speed

Underlying controller.

Definition at line 76 of file ra8_usb_pprn.c.


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