Module nrf52840_dk_bsp::prelude[][src]

Expand description

Exports traits that are usually needed when using this crate

Modules

If you can read and write the output state, a pin is toggleable by software.

Enums

Digital output pin state

Traits

Traits that extends the Ppi trait, marking a channel as fully configurable.

Single digital input pin

Single pin that can switch from input to output mode, and vice-versa.

Single digital push-pull output pin

Trait to represent a Programmable Peripheral Interconnect channel.

Push-pull output pin that can read its output state

Output pin that can be toggled

Extension trait that adds convenience methods to the u32 type.

Input capture

Pulse Width Modulation

A single PWM channel / pin

Quadrature encoder interface

ADCs that sample on single channels per request, and do so at the time of the request.

Write half of a serial interface (blocking variant)

Single digital input pin

Single digital push-pull output pin

Output pin that can be toggled

Read half of a serial interface

Write half of a serial interface

Full duplex (master mode)

Feeds an existing watchdog to ensure the processor isn’t reset. Sometimes commonly referred to as “kicking” or “refreshing”.

Disables a running watchdog timer so the processor won’t be reset.

Enables A watchdog timer to reset the processor if software is frozen or stalled.