Docs.rs
  • esp32-0.37.0
    • esp32 0.37.0
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • MabezDev
    • github:esp-rs:espressif
    • Dependencies
      • critical-section ^1.2.0 normal optional
      • defmt ^1.0.1 normal optional
      • vcell ^0.1.3 normal
    • Versions
    • 100% of the crate is documented
  • 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

Crate esp32

logo

esp320.37.0

  • All Items

Crate Items

  • Re-exports
  • Modules
  • Structs
  • Enums
  • Constants

Crates

  • esp32

Crate esp32

Source
Expand description

Peripheral access API for ESP32 microcontrollers (generated using svd2rust v0.35.0 ( ))

You can find an overview of the generated API here.

API features to be included in the next svd2rust release can be generated by cloning the svd2rust repository, checking out the above commit, and running cargo doc --open.

Re-exports§

pub use self::i2c0 as i2c1;
pub use self::i2s0 as i2s1;
pub use self::mcpwm0 as mcpwm1;
pub use self::spi0 as spi1;
pub use self::spi0 as spi2;
pub use self::spi0 as spi3;
pub use self::timg0 as timg1;
pub use self::uart0 as uart1;
pub use self::uart0 as uart2;
pub use self::uhci0 as uhci1;

Modules§

aes
AES (Advanced Encryption Standard) Accelerator
apb_ctrl
APB (Advanced Peripheral Bus) Controller
bb
BB Peripheral
dport
DPORT Peripheral
efuse
eFuse Controller
emac_dma
Ethernet DMA configuration and control registers
emac_ext
Ethernet Clock, PHY type, and SRAM configuration registers
emac_mac
Ethernet MAC configuration and control registers
flash_encryption
FLASH_ENCRYPTION Peripheral
frc_timer
FRC_TIMER Peripheral
generic
Common register and bit access and modify traits
gpio
General Purpose Input/Output
gpio_sd
Sigma-Delta Modulation
hinf
HINF Peripheral
i2c0
I2C (Inter-Integrated Circuit) Controller 0
i2s0
I2S (Inter-IC Sound) Controller 0
io_mux
Input/Output Multiplexer
ledc
LED Control PWM (Pulse Width Modulation)
mcpwm0
Motor Control Pulse-Width Modulation 0
nrx
NRX Peripheral
pcnt
Pulse Count Controller
rmt
Remote Control
rng
Hardware Random Number Generator
rsa
RSA (Rivest Shamir Adleman) Accelerator
rtc_cntl
Real-Time Clock Control
rtc_i2c
Low-power I2C (Inter-Integrated Circuit) Controller
rtc_io
Low-power Input/Output
sdhost
SD/MMC Host Controller
sens
SENS Peripheral
sha
SHA (Secure Hash Algorithm) Accelerator
slc
SLC Peripheral
slchost
SLCHOST Peripheral
spi0
SPI (Serial Peripheral Interface) Controller 0
timg0
Timer Group 0
twai0
Two-Wire Automotive Interface
uart0
UART (Universal Asynchronous Receiver-Transmitter) Controller 0
uhci0
Universal Host Controller Interface 0
wifi
MAC controller for Wi-Fi peripheral

Structs§

AES
AES (Advanced Encryption Standard) Accelerator
APB_CTRL
APB (Advanced Peripheral Bus) Controller
BB
BB Peripheral
DPORT
DPORT Peripheral
EFUSE
eFuse Controller
EMAC_DMA
Ethernet DMA configuration and control registers
EMAC_EXT
Ethernet Clock, PHY type, and SRAM configuration registers
EMAC_MAC
Ethernet MAC configuration and control registers
FLASH_ENCRYPTION
FLASH_ENCRYPTION Peripheral
FRC_TIMER
FRC_TIMER Peripheral
GPIO
General Purpose Input/Output
GPIO_SD
Sigma-Delta Modulation
HINF
HINF Peripheral
I2C0
I2C (Inter-Integrated Circuit) Controller 0
I2C1
I2C (Inter-Integrated Circuit) Controller 1
I2S0
I2S (Inter-IC Sound) Controller 0
I2S1
I2S (Inter-IC Sound) Controller 1
IO_MUX
Input/Output Multiplexer
LEDC
LED Control PWM (Pulse Width Modulation)
MCPWM0
Motor Control Pulse-Width Modulation 0
MCPWM1
Motor Control Pulse-Width Modulation 1
NRX
NRX Peripheral
PCNT
Pulse Count Controller
Peripherals
All the peripherals.
RMT
Remote Control
RNG
Hardware Random Number Generator
RSA
RSA (Rivest Shamir Adleman) Accelerator
RTC_CNTL
Real-Time Clock Control
RTC_I2C
Low-power I2C (Inter-Integrated Circuit) Controller
RTC_IO
Low-power Input/Output
SDHOST
SD/MMC Host Controller
SENS
SENS Peripheral
SHA
SHA (Secure Hash Algorithm) Accelerator
SLC
SLC Peripheral
SLCHOST
SLCHOST Peripheral
SPI0
SPI (Serial Peripheral Interface) Controller 0
SPI1
SPI (Serial Peripheral Interface) Controller 1
SPI2
SPI (Serial Peripheral Interface) Controller 2
SPI3
SPI (Serial Peripheral Interface) Controller 3
TIMG0
Timer Group 0
TIMG1
Timer Group 1
TWAI0
Two-Wire Automotive Interface
TryFromInterruptError
TryFromInterruptError
UART0
UART (Universal Asynchronous Receiver-Transmitter) Controller 0
UART1
UART (Universal Asynchronous Receiver-Transmitter) Controller 1
UART2
UART (Universal Asynchronous Receiver-Transmitter) Controller 2
UHCI0
Universal Host Controller Interface 0
UHCI1
Universal Host Controller Interface 1
WIFI
MAC controller for Wi-Fi peripheral

Enums§

Interrupt
Enumeration of all the interrupts.

Constants§

NVIC_PRIO_BITS
Number available in the NVIC for configuring priority

Results

Settings
Help
    struct
    esp32::i2c0::to::TO_SPEC
    You can read this register and get to::R. You can reset, …
    struct
    esp32::emac_mac::emacwdogto::EMACWDOGTO_SPEC
    Watchdog timeout control
    struct
    esp32::timg0::t::lo::LO_SPEC
    You can read this register and get lo::R. See API.
    struct
    esp32::spi0::w::W_SPEC
    You can read this register and get w::R. You can reset, …
    struct
    esp32::timg0::t::hi::HI_SPEC
    You can read this register and get hi::R. See API.
    struct
    esp32::slc::id::ID_SPEC
    You can read this register and get id::R. You can reset, …
    struct
    esp32::uart0::id::ID_SPEC
    You can read this register and get id::R. You can reset, …
    struct
    esp32::gpio::in_::IN_SPEC
    You can read this register and get in_::R. You can reset, …
    struct
    esp32::rtc_io::in_::IN_SPEC
    You can read this register and get in_::R. See API.
    struct
    esp32::i2c0::sr::SR_SPEC
    You can read this register and get sr::R. See API.
    struct
    esp32::i2c0::ctr::CTR_SPEC
    You can read this register and get ctr::R. You can reset, …
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.