Cargo Features

[dependencies]
embedded-c-sdk-bind-hal = { version = "0.7.1", default-features = false, features = ["print-log", "print-log-csdk", "tick-size-64bit", "embassy", "tick-based-msdelay", "USART-4", "USART-7", "adc-data-type-u8", "adc-buffered-ch1", "adc-buffered-ch3", "adc-buffered-ch5", "adc-buffered-ch7", "exti-irq-callback", "tick-freq-hz-1", "tick-freq-hz-2", "tick-freq-hz-4", "tick-freq-hz-8", "tick-freq-hz-10", "tick-freq-hz-16", "tick-freq-hz-32", "tick-freq-hz-64", "tick-freq-hz-100", "tick-freq-hz-128", "tick-freq-hz-256", "tick-freq-hz-512", "tick-freq-hz-1_000", "tick-freq-hz-2_000", "tick-freq-hz-4_000", "tick-freq-hz-8_000", "tick-freq-hz-10_000", "tick-freq-hz-16_000", "tick-freq-hz-32_000", "tick-freq-hz-64_000", "tick-freq-hz-100_000", "tick-freq-hz-128_000", "tick-freq-hz-256_000", "tick-freq-hz-512_000", "tick-freq-hz-1_000_000"] }
default = tick-based-msdelay

The tick-based-msdelay feature is set by default whenever embedded-c-sdk-bind-hal is added without default-features = false somewhere in the dependency tree.

print-log print-log-csdk?
print-log-csdk = print-log
tick-size-64bit

enable this feature to use the tick-based time driver as embassy_time_driver

Affects tick::TickType

embassy

Affects exti::exti_future

tick-based-msdelay default
USART-0 USART-1 USART-2 USART-3 USART-4
USART-5 USART-6 USART-7
adc-data-type-u8

default use u16

Affects adc::AdcDataType

adc-buffered-ch0 adc-buffered-ch1
adc-buffered-ch2 adc-buffered-ch3
adc-buffered-ch4 adc-buffered-ch5
adc-buffered-ch6 adc-buffered-ch7
exti-irq-callback

when exti irq occurs, call user defined fn: exti_irq_callback()

tick-freq-hz-1

BEGIN TICKS
Generated by gen_tick.py. DO NOT EDIT.
1Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-2

2Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-4

4Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-8

8Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-10

10Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-16

16Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-32

32Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-64

64Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-100

100Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-128

128Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-256

256Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-512

512Hz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-1_000

1.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-2_000

2.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-4_000

4.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-8_000

8.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-10_000

10.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-16_000

16.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-32_000

32.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-64_000

64.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-100_000

100.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-128_000

128.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-256_000

256.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-512_000

512.0kHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ

tick-freq-hz-1_000_000

1.0MHz Tick Rate

Affects tick_freq_hz::TICK_FREQ_HZ