Skip to content

Struct hal::lpc40::can::port

ClassList > hal > lpc40 > can > port

More...

  • #include <can.hpp>

Public Attributes

Type Name
peripheral id
Peripheral's ID.
irq irq_number
IRQ.
pin rd
Reference to read pin object.
std::uint8_t rd_function_code
Pin function code for receive.
std::uint8_t sync_jump = = 0
Number of time quanta for sync bits - 1.
pin td
Reference to transmit pin object.
std::uint8_t td_function_code
Pin function code for transmit.
std::uint8_t tseg1 = = 6
Number of time quanta for tseg1 - 1.
std::uint8_t tseg2 = = 1
Number of time quanta for tseg2 - 1.

Detailed Description

Contains all of the information for to control and configure a CAN BUS bus on the LPC40xx platform.

Public Attributes Documentation

variable id

peripheral hal::lpc40::can::port::id;

variable irq_number

irq hal::lpc40::can::port::irq_number;

variable rd

pin hal::lpc40::can::port::rd;

variable rd_function_code

std::uint8_t hal::lpc40::can::port::rd_function_code;

variable sync_jump

std::uint8_t hal::lpc40::can::port::sync_jump;

variable td

pin hal::lpc40::can::port::td;

variable td_function_code

std::uint8_t hal::lpc40::can::port::td_function_code;

variable tseg1

std::uint8_t hal::lpc40::can::port::tseg1;

variable tseg2

std::uint8_t hal::lpc40::can::port::tseg2;

The documentation for this class was generated from the following file libraries/include/libhal-lpc40/can.hpp