Docs.rs
  • esp32c6-hal-0.4.0
    • esp32c6-hal 0.4.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • jessebraham
    • github:esp-rs:espressif
    • Dependencies
      • cfg-if ^1.0.0 normal
      • embassy-time ^0.1.2 normal
      • embedded-can ^0.4.1 normal
      • embedded-hal ^0.2.7 normal
      • embedded-hal =1.0.0-alpha.11 normal
      • embedded-hal-async =0.2.0-alpha.2 normal
      • embedded-hal-nb =1.0.0-alpha.3 normal
      • esp-hal-common ^0.11.0 normal
      • aes ^0.8.3 dev
      • critical-section ^1.1.2 dev
      • crypto-bigint ^0.5.2 dev
      • embassy-executor ^0.2.0 dev
      • embedded-graphics ^0.8.1 dev
      • esp-backtrace ^0.7.0 dev
      • esp-hal-smartled ^0.4.0 dev
      • esp-println ^0.5.0 dev
      • heapless ^0.7.16 dev
      • lis3dh-async ^0.7.0 dev
      • sha2 ^0.10.7 dev
      • smart-leds ^0.3.0 dev
      • ssd1306 ^0.8.0 dev
      • static_cell ^1.2.0 dev
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

Crate esp32c6_hal

logo

Crate esp32c6_hal

  • Version 0.4.0
  • All Items
  • Modules
  • Macros
  • Structs
  • Enums
  • Functions
  • Attribute Macros

Crates

  • esp32c6_hal
?
Change settings

Crate esp32c6_hal

source ·
Expand description

no_std HAL for the ESP32-C6 from Espressif.

Implements a number of the traits defined by the various packages in the embedded-hal repository.

Modules

  • adc
    Analog to digital (ADC) conversion support.
  • aes
    Advanced Encryption Standard (AES) support.
  • analog
    Common module for analog functions
  • assist_debug
    Debug Assistant
  • clock
    Clock Control
  • delay
    Delay driver
  • dma
    Direct Memory Access Commons
  • efuse
    Reading of eFuses (ESP32-C6)
  • esp_riscv_rt
    Minimal startup / runtime for RISC-V CPUs from Espressif
  • gpio
    General Purpose I/Os
  • i2c
    I2C Driver
  • i2s
    I2S Master
  • interrupt
    Interrupt support
  • ledc
    LEDC (LED PWM Controller) peripheral control
  • lp_core
    Control the LP core
  • macros
    Procedural macros for placing statics and functions into RAM, and for marking interrupt handlers.
  • mcpwm
    MCPWM (Motor Control Pulse Width Modulator) peripheral
  • pcnt
    Pulse Counter peripheral driver
  • peripheral
    Exclusive peripheral access
  • peripherals
    Peripheral instance singletons (ESP32-C6)
  • prelude
    The prelude
  • radio
    Wireless communication peripheral implementations
  • reset
    Hardware and Software Reset
  • rmt
    Remote Control Peripheral (RMT)
  • rng
    Random Number Generator
  • rom
    ESP ROM libraries
  • rsa
    RSA Accelerator support.
  • rtc_cntl
    RTC_CNTL (Real-Time Clock Control) and Low-power Management
  • sha
    Secure Hash Algorithm peripheral driver
  • spi
    Serial Peripheral Interface
  • system
    System Control
  • systimer
    System Timer peripheral driver
  • timer
    General-purpose timers
  • trapframe
    State of the CPU saved when entering exception or interrupt
  • twai
    Two-wire Automotive Interface (TWAI)
  • uart
    UART driver
  • usb_serial_jtag
    USB Serial JTAG peripheral driver

Macros

  • impl_rx_channel
  • impl_tx_channel

Structs

  • Delay
    Delay driver
  • FlashSafeDma
    FlashSafeDma
  • IO
    General Purpose Input/Output driver
  • Rmt
    RMT Instance
  • Rng
    Random number generator driver
  • Rtc
    Low-power Management
  • Rwdt
    RTC Watchdog Timer
  • Spi
    SPI peripheral driver
  • Timer
    General-purpose Timer driver
  • Uart
    UART driver
  • UsbSerialJtag
    USB Serial JTAG driver

Enums

  • Cpu
    Available CPU cores

Functions

  • get_core
    Which core the application is currently executing on

Attribute Macros

  • entry
    Attribute to declare the entry point of the program

Results

module
esp32c6_hal::interrupt
Interrupt support
module
esp32c6_hal::esp_riscv_rt::riscv::interrupt
Interrupts
enum
esp32c6_hal::esp_riscv_rt::riscv::register::mcause::Interrupt
Interrupt
enum
esp32c6_hal::esp_riscv_rt::riscv::register::scause::Interrupt
Interrupt
enum
esp32c6_hal::peripherals::Interrupt
Enumeration of all the interrupts.
attribute macro
esp32c6_hal::macros::interrupt
Marks a function as an interrupt handler
attribute macro
esp32c6_hal::prelude::interrupt
Marks a function as an interrupt handler
enum variant
esp32c6_hal::esp_riscv_rt::riscv::register::mcause::Trap::Interrupt
enum variant
esp32c6_hal::esp_riscv_rt::riscv::register::scause::Trap::Interrupt
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt1
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt2
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt3
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt4
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt5
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt6
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt7
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt8
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt9
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt10
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt11
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt12
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt13
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt14
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt15
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt16
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt17
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt18
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt19
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt20
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt21
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt22
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt23
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt24
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt25
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt26
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt27
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt28
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt29
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt30
enum variant
esp32c6_hal::interrupt::CpuInterrupt::Interrupt31
method
esp32c6_hal::pcnt::unit::Unit::interrupt_set
Returns true if an interrupt is active for this unit.
enum
esp32c6_hal::interrupt::InterruptKind
Interrupt kind
struct
esp32c6_hal::peripherals::INTERRUPT_CORE0
struct field
esp32c6_hal::peripherals::Peripherals::INTERRUPT_CORE0
assoc type
esp32c6_hal::gpio::GpioProperties::InterruptStatus
method
esp32c6_hal::systimer::Alarm::interrupt_enable
method
esp32c6_hal::esp_riscv_rt::riscv::register::mcause::Mcause::is_interrupt
Is trap cause an interrupt.
method
esp32c6_hal::esp_riscv_rt::riscv::register::scause::Scause::is_interrupt
Is trap cause an interrupt.
trait method
esp32c6_hal::prelude::Instance::is_interrupt_set
trait method
esp32c6_hal::timer::Instance::is_interrupt_set
method
esp32c6_hal::Rwdt::is_interrupt_set
method
esp32c6_hal::timer::Timer0::is_interrupt_set
enum
esp32c6_hal::interrupt::CpuInterrupt
Enumeration of available CPU interrupts. It is possible to …
trait method
esp32c6_hal::gpio::_esp_hal_gpio_Pin::clear_interrupt
trait method
esp32c6_hal::prelude::_esp_hal_gpio_Pin::clear_interrupt
trait method
esp32c6_hal::prelude::Instance::clear_interrupt
trait method
esp32c6_hal::timer::Instance::clear_interrupt
method
esp32c6_hal::Rwdt::clear_interrupt
method
esp32c6_hal::gpio::GpioPin::clear_interrupt
method
esp32c6_hal::systimer::Alarm::clear_interrupt
method
esp32c6_hal::timer::Timer0::clear_interrupt
method
esp32c6_hal::pcnt::unit::Unit::reset_interrupt
Clear the interrupt bit for this unit.
method
esp32c6_hal::Uart::at_cmd_interrupt_set
Checks if AT-CMD interrupt is set
method
esp32c6_hal::Uart::tx_done_interrupt_set
Checks if TX-DONE interrupt is set
trait method
esp32c6_hal::dma::RegisterAccess::clear_in_interrupts
method
esp32c6_hal::dma::gdma::Channel0::clear_in_interrupts
method
esp32c6_hal::dma::gdma::Channel1::clear_in_interrupts
method
esp32c6_hal::dma::gdma::Channel2::clear_in_interrupts
trait method
esp32c6_hal::gpio::_esp_hal_gpio_Pin::is_acore_interrupt_set
trait method
esp32c6_hal::prelude::_esp_hal_gpio_Pin::is_acore_interrupt_set
method
esp32c6_hal::gpio::GpioPin::is_acore_interrupt_set
trait method
esp32c6_hal::gpio::_esp_hal_gpio_Pin::is_pcore_interrupt_set
trait method
esp32c6_hal::prelude::_esp_hal_gpio_Pin::is_pcore_interrupt_set
method
esp32c6_hal::gpio::GpioPin::is_pcore_interrupt_set
enum variant
esp32c6_hal::interrupt::Error::InvalidInterruptPriority
enum
esp32c6_hal::system::SoftwareInterrupt
enum variant
esp32c6_hal::system::SoftwareInterrupt::SoftwareInterrupt0
enum variant
esp32c6_hal::system::SoftwareInterrupt::SoftwareInterrupt1
enum variant
esp32c6_hal::system::SoftwareInterrupt::SoftwareInterrupt2
enum variant
esp32c6_hal::system::SoftwareInterrupt::SoftwareInterrupt3
method
esp32c6_hal::i2c::_esp_hal_i2c_Instance::clear_all_interrupts
method
esp32c6_hal::prelude::_esp_hal_i2c_Instance::clear_all_interrupts
method
esp32c6_hal::prelude::InstanceDma::clear_dma_interrupts
method
esp32c6_hal::spi::InstanceDma::clear_dma_interrupts
trait method
esp32c6_hal::dma::RegisterAccess::clear_out_interrupts
method
esp32c6_hal::dma::gdma::Channel0::clear_out_interrupts
method
esp32c6_hal::dma::gdma::Channel1::clear_out_interrupts
method
esp32c6_hal::dma::gdma::Channel2::clear_out_interrupts
trait method
esp32c6_hal::dma::RegisterAccess::is_out_eof_interrupt_set
method
esp32c6_hal::dma::gdma::Channel0::is_out_eof_interrupt_set
method
esp32c6_hal::dma::gdma::Channel1::is_out_eof_interrupt_set
method
esp32c6_hal::dma::gdma::Channel2::is_out_eof_interrupt_set
struct
esp32c6_hal::system::SoftwareInterruptControl
struct field
esp32c6_hal::system::SystemParts::software_interrupt_control
function
esp32c6_hal::interrupt::enable_cpu_interrupt
Enable a CPU interrupt
method
esp32c6_hal::prelude::Instance::disable_rx_interrupts
method
esp32c6_hal::uart::Instance::disable_rx_interrupts
method
esp32c6_hal::usb_serial_jtag::Instance::disable_rx_interrupts
method
esp32c6_hal::prelude::Instance::disable_tx_interrupts
method
esp32c6_hal::uart::Instance::disable_tx_interrupts
method
esp32c6_hal::usb_serial_jtag::Instance::disable_tx_interrupts
method
esp32c6_hal::Uart::reset_at_cmd_interrupt
Reset AT-CMD interrupt
method
esp32c6_hal::Uart::rx_fifo_full_interrupt_set
Checks if RX-FIFO-FULL interrupt is set
trait method
esp32c6_hal::dma::RegisterAccess::reset_out_eof_interrupt
method
esp32c6_hal::dma::gdma::Channel0::reset_out_eof_interrupt
method
esp32c6_hal::dma::gdma::Channel1::reset_out_eof_interrupt
method
esp32c6_hal::dma::gdma::Channel2::reset_out_eof_interrupt
method
esp32c6_hal::Uart::reset_tx_done_interrupt
Reset TX-DONE interrupt
method
esp32c6_hal::rmt::ContinuousTxTransaction::is_loopcount_interrupt_set
method
esp32c6_hal::assist_debug::DebugAssist::is_sp_monitor_interrupt_set
method
esp32c6_hal::UsbSerialJtag::rx_packet_recv_interrupt_set
Checks if RX-PACKET-RECV interrupt is set
method
esp32c6_hal::rsa::Rsa::enable_disable_interrupt
Enables/disables rsa interrupt, when enabled rsa perpheral …
method
esp32c6_hal::assist_debug::DebugAssist::clear_sp_monitor_interrupt
method
esp32c6_hal::Uart::reset_rx_fifo_full_interrupt
Reset RX-FIFO-FULL interrupt
method
esp32c6_hal::assist_debug::DebugAssist::is_region0_monitor_interrupt_set
method
esp32c6_hal::assist_debug::DebugAssist::is_region1_monitor_interrupt_set
method
esp32c6_hal::UsbSerialJtag::reset_rx_packet_recv_interrupt
Reset RX-PACKET-RECV interrupt
method
esp32c6_hal::UsbSerialJtag::listen_rx_packet_recv_interrupt
Listen for RX-PACKET-RECV interrupts
trait method
esp32c6_hal::gpio::_esp_hal_gpio_Pin::is_acore_non_maskable_interrupt_set
trait method
esp32c6_hal::prelude::_esp_hal_gpio_Pin::is_acore_non_maskable_interrupt_set
method
esp32c6_hal::gpio::GpioPin::is_acore_non_maskable_interrupt_set
trait method
esp32c6_hal::gpio::_esp_hal_gpio_Pin::is_pcore_non_maskable_interrupt_set
trait method
esp32c6_hal::prelude::_esp_hal_gpio_Pin::is_pcore_non_maskable_interrupt_set
method
esp32c6_hal::gpio::GpioPin::is_pcore_non_maskable_interrupt_set
method
esp32c6_hal::assist_debug::DebugAssist::clear_region0_monitor_interrupt
method
esp32c6_hal::assist_debug::DebugAssist::clear_region1_monitor_interrupt
method
esp32c6_hal::UsbSerialJtag::unlisten_rx_packet_recv_interrupt
Stop listening for RX-PACKET-RECV interrupts
method
esp32c6_hal::esp_riscv_rt::riscv::register::mcause::Interrupt::eq
method
esp32c6_hal::esp_riscv_rt::riscv::register::scause::Interrupt::eq
method
esp32c6_hal::peripherals::Interrupt::eq
method
esp32c6_hal::esp_riscv_rt::riscv::register::mcause::Interrupt::fmt
method
esp32c6_hal::esp_riscv_rt::riscv::register::scause::Interrupt::fmt
method
esp32c6_hal::peripherals::Interrupt::fmt
function
esp32c6_hal::interrupt::map
Assign a peripheral interrupt to an CPU interrupt.
method
esp32c6_hal::esp_riscv_rt::riscv::register::mcause::Interrupt::clone
method
esp32c6_hal::esp_riscv_rt::riscv::register::scause::Interrupt::clone
method
esp32c6_hal::peripherals::Interrupt::clone
function
esp32c6_hal::interrupt::enable
Enables a interrupt at a given priority
function
esp32c6_hal::interrupt::disable
Disable the given peripheral interrupt.
method
esp32c6_hal::esp_riscv_rt::riscv::register::mcause::Interrupt::from
method
esp32c6_hal::esp_riscv_rt::riscv::register::scause::Interrupt::from
method
esp32c6_hal::esp_riscv_rt::riscv::register::mcause::Interrupt::clone
method
esp32c6_hal::esp_riscv_rt::riscv::register::scause::Interrupt::clone
method
esp32c6_hal::peripherals::Interrupt::clone
method
esp32c6_hal::peripherals::Interrupt::try_from
Attempt to convert a given value into an Interrupt