components

Module can

Source
Expand description

Component for CAN syscall interface.

This provides one Component, CanComponent, which implements a userspace syscall interface to the Can peripheral.

§Usage

let can = components::can::CanComponent::new(
    board_kernel,
    capsules_extra::can::DRIVER_NUM,
    &peripherals.can1
).finalize(components::can_component_static!(
    stm32f429zi::can::Can<'static>
));

Structs§