Midnight Sun Firmware
Loading...
Searching...
No Matches
FotaCanSettings

CAN Settings. More...

#include <fota_can.h>

Public Attributes

uint16_t device_id
 
FotaCanBitrate bitrate
 
bool loopback
 
bool silent
 

Detailed Description

CAN Settings.

TX Pin will transmit data. RX pin will receive data. The bitrate is the number of bits sent per second. The device ID is the CAN ID of the STM32 node. Loopback will internally connect the transmit and receive CAN lines for testing. Silent mode is used for only listening to the bus.

Member Data Documentation

◆ bitrate

FotaCanBitrate bitrate

Bits per second

◆ device_id

uint16_t device_id

Device CAN ID

◆ loopback

bool loopback

Enables self-listening for message debugging

◆ silent

bool silent

Device can listen but not transmit messages


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