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

7-byte payload of SET_LINE_CODING / GET_LINE_CODING. More...

#include <ra8_usb_cdc.h>

Data Fields

uint32_t dte_rate
 Baud rate in bits/sec.
uint8_t char_format
 0=1 stop, 1=1.5 stop, 2=2 stop.
uint8_t parity_type
 0=none, 1=odd, 2=even, ...
uint8_t data_bits
 5 / 6 / 7 / 8 / 16.

Detailed Description

7-byte payload of SET_LINE_CODING / GET_LINE_CODING.

Layout matches the on-the-wire serialisation; the host sends little-endian.

Definition at line 107 of file ra8_usb_cdc.h.

Field Documentation

◆ char_format

uint8_t ra8_usb_cdc_line_coding_t::char_format

0=1 stop, 1=1.5 stop, 2=2 stop.

Definition at line 109 of file ra8_usb_cdc.h.

Referenced by internal_default_coding().

◆ data_bits

uint8_t ra8_usb_cdc_line_coding_t::data_bits

5 / 6 / 7 / 8 / 16.

Definition at line 111 of file ra8_usb_cdc.h.

Referenced by internal_default_coding().

◆ dte_rate

uint32_t ra8_usb_cdc_line_coding_t::dte_rate

Baud rate in bits/sec.

Definition at line 108 of file ra8_usb_cdc.h.

Referenced by internal_default_coding().

◆ parity_type

uint8_t ra8_usb_cdc_line_coding_t::parity_type

0=none, 1=odd, 2=even, ...

Definition at line 110 of file ra8_usb_cdc.h.

Referenced by internal_default_coding().


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