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

Resolved nominal / data phase bit-timing fields. More...

Data Fields

uint32_t prescaler
 Prescaler integer (pre-subtract-1).
uint32_t tseg1
 Phase segment 1 (pre-subtract-1).
uint32_t tseg2
 Phase segment 2 (pre-subtract-1).
uint32_t sjw
 Sync jump width (pre-subtract-1).

Detailed Description

Resolved nominal / data phase bit-timing fields.

All fields are pre-subtract-1 i.e. the human-friendly value before the FSP "field = value - 1" packing. Both nominal and data phases use the same struct; the packing routine differs because the register layouts differ (NCFG vs DCFG).

Definition at line 74 of file ra8_canfd_timing.c.

Field Documentation

◆ prescaler

uint32_t ra8_canfd_timing_t::prescaler

Prescaler integer (pre-subtract-1).

Definition at line 75 of file ra8_canfd_timing.c.

Referenced by internal_pack_dcfg(), internal_pack_ncfg(), and internal_solve_timing().

◆ sjw

uint32_t ra8_canfd_timing_t::sjw

Sync jump width (pre-subtract-1).

Definition at line 78 of file ra8_canfd_timing.c.

Referenced by internal_pack_dcfg(), internal_pack_ncfg(), and internal_solve_timing().

◆ tseg1

uint32_t ra8_canfd_timing_t::tseg1

Phase segment 1 (pre-subtract-1).

Definition at line 76 of file ra8_canfd_timing.c.

Referenced by internal_pack_dcfg(), internal_pack_ncfg(), and internal_solve_timing().

◆ tseg2

uint32_t ra8_canfd_timing_t::tseg2

Phase segment 2 (pre-subtract-1).

Definition at line 77 of file ra8_canfd_timing.c.

Referenced by internal_pack_dcfg(), internal_pack_ncfg(), and internal_solve_timing().


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