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

CANFD Transmitter Delay Compensation (TDC) configuration. More...

#include <stdint.h>
#include "ra8_canfd.h"
#include "ra8_canfd_regs.h"
#include "ra8_check.h"
#include "ra8_err.h"
#include "ra8_hal_internal.h"
#include "ra8_log.h"
Include dependency graph for ra8_canfd_tdc.c:

Go to the source code of this file.

Functions

ra8_err_t ra8_canfd_set_tdc (uint8_t channel, const ra8_canfd_tdc_cfg_t *cfg)
 Implementation of ra8_canfd_set_tdc() – RMW CFDCnFDCFG in CH_RESET.

Variables

static const char * s_tag = "CANFD"

Detailed Description

CANFD Transmitter Delay Compensation (TDC) configuration.

Tag
[Ring 3 / HAL] {World: NS}

Single public entry-point: ra8_canfd_set_tdc – enables, configures, or disables the Transmitter Delay Compensation block in CFDCnFDCFG for one CANFD channel. The write is bracketed by CH_RESET / CH_OPERATION mode transitions using the shared helper priv_ra8_canfd_internal_set_channel_mode (promoted to TU-external linkage in ra8_hal_internal.h) – the same strategy used by ra8_canfd_set_bitrate in ra8_canfd_timing.c.

Every register access carries a HUM Ch 41 "CAN with Flexible Data-rate (CANFD)" citation (pages 2702..2867, chapter map row 41).

Since
0.1.0

Definition in file ra8_canfd_tdc.c.

Function Documentation

◆ ra8_canfd_set_tdc()

Variable Documentation

◆ s_tag

const char* s_tag = "CANFD"
static

Definition at line 34 of file ra8_canfd_tdc.c.