zephyr/doc/hardware/peripherals
Henrik Brix Andersen 3436c93387 drivers: can: remove run-time RTR filtering, add build-time RTR filter
A growing number of CAN controllers do not have support for individual RX
hardware filters based on the Remote Transmission Request (RTR) bit. This
leads to various work-arounds on the driver level mixing hardware and
software filtering.

As the use of RTR frames is discouraged by CAN in Automation (CiA) - and
not even supported by newer standards, e.g. CAN FD - this often leads to
unnecessary overhead, added complexity, and worst-case to non-portable
behavior between various CAN controller drivers.

Instead, move to a simpler approach where the ability to accept/reject RTR
frames is globally configured via Kconfig. By default, all incoming RTR
frames are rejected at the driver level, a setting which can be supported
in hardware by most in-tree CAN controllers drivers.

Legacy applications or protocol implementations, where RTR reception is
required, can now select CONFIG_CAN_ACCEPT_RTR to accept incoming RTR
frames matching added CAN filters. These applications or protocols will
need to distinguish between RTR and data frames in their respective CAN RX
frame handling routines.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2024-01-21 11:00:31 +01:00
..
audio
can drivers: can: remove run-time RTR filtering, add build-time RTR filter 2024-01-21 11:00:31 +01:00
display
edac
1-Wire_bus_topology.drawio.svg
adc.rst
auxdisplay.rst doc: Fix occurrences of repeated words 2023-11-15 17:34:39 -05:00
bbram.rst
bc12.rst doc: Fix occurrences of repeated words 2023-11-15 17:34:39 -05:00
charger.rst drivers: charger: Adds charge_enable handler 2023-12-12 10:49:39 -06:00
clock_control.rst
coredump.rst
counter.rst
dac.rst
dma.rst docs: Better document the DMA API and expectations 2023-11-10 10:40:10 +01:00
eeprom.rst
entropy.rst
espi.rst
flash.rst
fuel_gauge.rst fuel_gauge: Repl property struct w/ union 2023-09-27 12:07:59 +02:00
gnss.rst doc: gnss: Add GNSS documentation 2023-10-30 11:43:19 -04:00
gpio.rst
hwinfo.rst
i2c_eeprom_target.rst
i2c.rst
i3c.rst
index.rst doc: gnss: Add GNSS documentation 2023-10-30 11:43:19 -04:00
ipm.rst
kscan.rst
led.rst
mbox.rst
mdio.rst
mipi_dsi.rst
pcie.rst
peci.rst
ps2.rst
pwm.rst
regulators.rst
reset.rst
retained_mem.rst doc: retained_mem: Add note on mutex configuration 2023-10-10 16:27:10 +03:00
rtc.rst doc: peripherals: Add emulated RTC doc to docs 2024-01-08 10:10:13 +01:00
sdhc.rst
sensor.rst
smbus.rst
spi.rst
tcpc.rst
tgpio.rst doc: hardware: peripherals: Added tgpio.rst 2023-09-29 16:28:09 +02:00
uart.rst
usbc_vbus.rst
video.rst
w1.rst
watchdog.rst