|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Configuration descriptor for ra8_sci_lin_init. More...
#include <ra8_sci_lin.h>
Data Fields | |
| ra8_sci_cfg_t | uart |
| Base async-UART baud + framing. | |
| ra8_sci_lin_role_t | role |
| Commander (generate) or responder (detect) the frame header. | |
| ra8_sci_lin_timer_clk_t | timer_clk |
| Break-field timer clock (TCSS). | |
| uint16_t | break_field_len |
| XCR2.BFLW: dominant time = (break_field_len + 1) x timer clock. | |
Configuration descriptor for ra8_sci_lin_init.
Wraps the base async-UART configuration (baud / framing) used to bring the channel up before the mode switch, plus the Simple-LIN-specific parameters: the node role, the break-field timer clock divider, and the break-field length register value. break_field_len sizes the break generated by a commander and the minimum break a responder's detector accepts; both use the same TCSS timer clock.
cppcheck cannot see tests/ so it flags every field as unused; each member is read in ra8_sci_lin_init in libs/ra8_hal/src/ra8_sci_lin.c.
Definition at line 167 of file ra8_sci_lin.h.
| uint16_t ra8_sci_lin_cfg_t::break_field_len |
XCR2.BFLW: dominant time = (break_field_len + 1) x timer clock.
>= 13 bit-times per the LIN standard; 0xFFFF prohibited.
Definition at line 172 of file ra8_sci_lin.h.
Referenced by ra8_sci_lin_init().
| ra8_sci_lin_role_t ra8_sci_lin_cfg_t::role |
Commander (generate) or responder (detect) the frame header.
Definition at line 169 of file ra8_sci_lin.h.
Referenced by ra8_sci_lin_init().
| ra8_sci_lin_timer_clk_t ra8_sci_lin_cfg_t::timer_clk |
Break-field timer clock (TCSS).
Definition at line 171 of file ra8_sci_lin.h.
Referenced by ra8_sci_lin_init().
| ra8_sci_cfg_t ra8_sci_lin_cfg_t::uart |
Base async-UART baud + framing.
Definition at line 168 of file ra8_sci_lin.h.
Referenced by ra8_sci_lin_init().