[][src]Module e310x_hal::prelude

Prelude

Re-exports

pub use crate::clint::ClintExt as _e310x_hal_clint_ClintExt;
pub use crate::clock::Clocks;
pub use crate::clock::PrciExt as _e310x_hal_clock_PrciExt;
pub use crate::clock::AonExt as _e310x_hal_clock_AonExt;
pub use crate::gpio::GpioExt as _e310x_hal_gpio_GpioExt;
pub use crate::plic::PlicExt as _e310x_hal_plic_PlicExt;
pub use crate::rtc::RtcExt as _e310x_hal_rtc_RtcExt;
pub use crate::serial::Serial;
pub use crate::serial::Tx;
pub use crate::serial::Rx;
pub use crate::time::U32Ext as _e310x_hal_time_U32Ext;
pub use crate::wdog::WdogExt as _e310x_hal_wdog_WdogExt;

Traits

_embedded_hal_Capture

Input capture

_embedded_hal_Pwm

Pulse Width Modulation

_embedded_hal_PwmPin

A single PWM channel / pin

_embedded_hal_Qei

Quadrature encoder interface

_embedded_hal_blocking_delay_DelayMs

Millisecond delay

_embedded_hal_blocking_delay_DelayUs

Microsecond delay

_embedded_hal_blocking_i2c_WriteRead

Blocking write + read

_embedded_hal_blocking_i2c_Write

Blocking write

_embedded_hal_blocking_i2c_Read

Blocking read

_embedded_hal_blocking_rng_Read

Blocking read

_embedded_hal_blocking_serial_Write

Write half of a serial interface (blocking variant)

_embedded_hal_blocking_spi_Transfer

Blocking transfer

_embedded_hal_blocking_spi_Write

Blocking write

_embedded_hal_digital_InputPin

Single digital input pin

_embedded_hal_digital_OutputPin

Single digital push-pull output pin

_embedded_hal_digital_ToggleableOutputPin

Output pin that can be toggled

_embedded_hal_serial_Read

Read half of a serial interface

_embedded_hal_serial_Write

Write half of a serial interface

_embedded_hal_spi_FullDuplex

Full duplex (master mode)

_embedded_hal_timer_CountDown

A count down timer