Crate vorago_shared_hal

Crate vorago_shared_hal 

Source
Expand description

Shared HAL code for Vorago VA108xx and VA416xx microcontrollers.

Re-exports§

pub use sysconfig::assert_peripheral_reset;
pub use sysconfig::deassert_peripheral_reset;
pub use sysconfig::disable_peripheral_clock;
pub use sysconfig::enable_peripheral_clock;
pub use sysconfig::reset_peripheral_for_cycles;
pub use ioconfig::regs::FunctionSelect;

Modules§

embassy
gpio
GPIO support module.
i2c
ioconfig
pins
pwm
spi
sysconfig
time
Time units
timer
uart
API for the UART peripheral

Macros§

hw_cs_pins

Structs§

InterruptConfig
Generic interrupt config which can be used to specify whether the HAL driver will use the IRQSEL register to route an interrupt, and whether the IRQ will be unmasked in the Cortex-M0 NVIC. Both are generally necessary for IRQs to work, but the user might want to perform those steps themselves.
InvalidOffsetError

Enums§

PeripheralSelect
Port
GPIO port enumeration.

Constants§

NUM_PORT_A
Number of GPIO ports and IOCONFIG registers for PORT A
NUM_PORT_B
Number of GPIO ports and IOCONFIG registers for PORT B

Functions§

disable_nvic_interrupt
Disable a specific interrupt using the NVIC peripheral.
enable_nvic_interrupt
Enable a specific interrupt using the NVIC peripheral.