Cargo Features

nrf-hal-common has no features set by default.

[dependencies]
nrf-hal-common = { version = "0.18.0", features = ["51", "52805", "52810", "52811", "52832", "52833", "52840", "5340-app", "5340-net", "9160", "rtic-monotonic", "doc", "embedded-hal-02"] }
51 = nrf51-pac

Affects nrf-hal-common::adc, nrf-hal-common::twi, nrf-hal-common::uart, nrf-hal-common::target_constants.EASY_DMA_SIZE, nrf-hal-common::target_constants.FORCE_COPY_BUFFER_SIZE

52805 = nrf52805-pac

Affects nrf-hal-common::target_constants.EASY_DMA_SIZE, nrf-hal-common::target_constants.FORCE_COPY_BUFFER_SIZE

52810 = nrf52810-pac

Affects nrf-hal-common::target_constants.EASY_DMA_SIZE, nrf-hal-common::target_constants.FORCE_COPY_BUFFER_SIZE

52811 = nrf52811-pac

Affects nrf-hal-common::target_constants.EASY_DMA_SIZE

52832 = nrf52832-pac

Affects nrf-hal-common::target_constants.EASY_DMA_SIZE, timer::ExtendedCCTimer, nrf-hal-common::target_constants.FORCE_COPY_BUFFER_SIZE

52833 = nrf-usbd, nrf52833-pac

Affects nrf-hal-common::target_constants.EASY_DMA_SIZE, nrf-hal-common::ieee802154, saadc::InternalVddHdiv5, timer::ExtendedCCTimer

52840 = nrf-usbd, nrf52840-pac

Affects nrf-hal-common::target_constants.EASY_DMA_SIZE, nrf-hal-common::ieee802154, saadc::InternalVddHdiv5, timer::ExtendedCCTimer

5340-app = nrf5340-app-pac

Affects nrf-hal-common::target_constants.EASY_DMA_SIZE

5340-net = nrf5340-net-pac

Affects nrf-hal-common::target_constants.EASY_DMA_SIZE

9160 = nrf9160-pac

Affects nrf-hal-common::target_constants.EASY_DMA_SIZE

rtic-monotonic

Enables fugit and rtic-monotonic

Affects nrf-hal-common::monotonic

doc

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.

embedded-hal-02 implicit feature

Enables embedded-hal ^0.2.7

embedded-hal:

A Hardware Abstraction Layer (HAL) for embedded systems

Affects adc::Channel, saadc::Channel

nrf51-pac 51?
nrf52805-pac 52805?
nrf52810-pac 52810?
nrf52811-pac 52811?
nrf52832-pac 52832?
nrf52833-pac 52833?
nrf52840-pac 52840?
nrf5340-app-pac 5340-app?
nrf5340-net-pac 5340-net?
nrf9160-pac 9160?
nrf-usbd 52833? 52840?

Affects nrf-hal-common::usbd