Cargo Features
[dependencies]
n32g4xx-hal = { version = "0.11.1", default-features = false, features = ["rt", "n32g401", "n32g430", "n32g432", "n32g435", "n32g451", "n32g452", "n32g455", "n32g457", "n32g4fr", "rtic1", "rtic2", "defmt", "dac"] }
- default = rt
-
Use one of the supported N32-series related features:
n32g401
,n32g432
,n32g435
,n32g451
,n32g452
,n32g455
,n32g457
,n32g4fr
Note: n32g4 has only one feature for some very similar device families, - rt default
- n32g401
-
Affects
rcc::SYSCLK_MAX
,afio::Parts
,afio::TOL5V_CFG
,afio::EFT_CFG1
,afio::EFT_CFG2
,afio::FILT_CFG
,afio::DIGEFT_CFG1
,afio::DIGEFT_CFG2
… - n32g430
-
Affects
rcc::SYSCLK_MAX
,afio::Parts
,afio::TOL5V_CFG
,afio::EFT_CFG1
,afio::EFT_CFG2
,afio::FILT_CFG
,afio::DIGEFT_CFG1
,afio::DIGEFT_CFG2
… - n32g432
-
Affects
afio::Parts
,rcc::SYSCLK_MAX
… - n32g435
-
Affects
afio::Parts
,rcc::SYSCLK_MAX
… - n32g451
-
Affects
afio::Parts
,afio::ECTRL
,afio::RMP_CFG3
,afio::RMP_CFG4
,afio::RMP_CFG5
,dma::chmap
,n32g4xx-hal::bkp
,rcc::SYSCLK_MAX
… - n32g452
-
Affects
afio::Parts
,afio::ECTRL
,afio::RMP_CFG3
,afio::RMP_CFG4
,afio::RMP_CFG5
,dma::chmap
,n32g4xx-hal::bkp
,rcc::SYSCLK_MAX
… - n32g455
-
Affects
afio::Parts
,afio::ECTRL
,afio::RMP_CFG3
,afio::RMP_CFG4
,afio::RMP_CFG5
,dma::chmap
,n32g4xx-hal::bkp
,rcc::SYSCLK_MAX
… - n32g457
-
Affects
afio::Parts
,afio::ECTRL
,afio::RMP_CFG3
,afio::RMP_CFG4
,afio::RMP_CFG5
,dma::chmap
,n32g4xx-hal::bkp
,rcc::SYSCLK_MAX
… - n32g4fr
-
Affects
afio::Parts
,afio::ECTRL
,afio::RMP_CFG3
,afio::RMP_CFG4
,afio::RMP_CFG5
,dma::chmap
,n32g4xx-hal::bkp
,rcc::SYSCLK_MAX
… - rtic1 = cortex-m-rtic
-
Support monotonic timers and other stuff that can be used by RTICv1 framework
Enables rtic-monotonic and systick-monotonic
- rtic2
-
Support monotonic timers and other stuff that can be used by RTICv2 framework
Requires nightly rust compiler
Enables rtic, rtic-monotonics ^1.5, and rtic-time ^1.3
- defmt
-
Implementation of
defmt::Format
for public enums and structures. See defmtEnables defmt, defmt-03 of embedded-hal, defmt of fugit, defmt-0-3 of nb, defmt of usb-device
- rng dac
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.