Cargo Features

stm32f1xx-hal-bxcan has no features set by default.

[dependencies]
stm32f1xx-hal-bxcan = { version = "0.8.0", features = ["device-selected", "rt", "stm32f100", "stm32f101", "stm32f103", "stm32f107", "doc", "medium", "high", "xl", "connectivity", "has-can", "stm32-usbd"] }
device-selected stm32f100? stm32f101? stm32f103? stm32f105? stm32f107?

Affects stm32f1xx-hal-bxcan::adc, stm32f1xx-hal-bxcan::afio, stm32f1xx-hal-bxcan::backup_domain, stm32f1xx-hal-bxcan::bb, stm32f1xx-hal-bxcan::crc, stm32f1xx-hal-bxcan::delay, stm32f1xx-hal-bxcan::dma, stm32f1xx-hal-bxcan::flash, stm32f1xx-hal-bxcan::gpio, stm32f1xx-hal-bxcan::i2c, stm32f1xx-hal-bxcan::prelude, stm32f1xx-hal-bxcan::pwm, stm32f1xx-hal-bxcan::pwm_input, stm32f1xx-hal-bxcan::qei, stm32f1xx-hal-bxcan::rcc, stm32f1xx-hal-bxcan::rtc

rt

Enables rt of stm32f1 ^0.11.0

stm32f100 = device-selected

Enables stm32f100 of stm32f1 ^0.11.0

stm32f101 = device-selected

Enables stm32f101 of stm32f1 ^0.11.0

stm32f103 = device-selected, has-can

Enables stm32f103 of stm32f1 ^0.11.0

Affects stm32f1xx-hal-bxcan::usb

stm32f105 stm32f107 = connectivity, device-selected

Enables stm32f107 of stm32f1 ^0.11.0

doc
medium connectivity? high?

Devices with 64 or 128 Kb ROM

high xl? = medium

Devices with 256 or 512 Kb ROM

xl = high

Devices with 768 Kb ROM or more

connectivity stm32f105? stm32f107? = has-can, medium

Connectivity line devices (stm32f105xx and stm32f107xx)

has-can connectivity? stm32f103?

Devices with CAN interface

Affects stm32f1xx-hal-bxcan::can

Features from optional dependencies

stm32-usbd implicit feature

Enables stm32-usbd ^0.5.0

stm32-usbd:

'usb-device' implementation for STM32 microcontrollers

Affects stm32f1xx-hal-bxcan::usb