Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ch32-rs/ch32-hal
/ types & classes
Types & classes
313 in github.com/ch32-rs/ch32-hal
⨍
Functions
1,020
◇
Types & classes
313
↓ 64 callers
Class
Hertz
src/time.rs:8
↓ 8 callers
Class
DmaCtrlImpl
src/dma/dma_bdma.rs:459
↓ 4 callers
Class
Bit16IdReg
src/can/filter/bit16.rs:5
↓ 2 callers
Class
Bit32IdReg
src/can/filter/bit32.rs:57
↓ 2 callers
Class
Ethernet
Ethernet MAC driver. `TX` and `RX` are the number of DMA descriptors (and buffers) in each ring.
src/eth/v1/mod.rs:544
↓ 1 callers
Class
BitIter
src/exti.rs:122
↓ 1 callers
Class
ChipID
src/signature.rs:18
↓ 1 callers
Class
Measurement
examples/ch32x035/src/bin/uart_pms7003_async.rs:63
Enum
AFType
src/gpio.rs:445
Class
Adc
Analog to Digital driver.
src/adc.rs:56
Interface
AdcChannel
src/adc.rs:225
Interface
AdvancedInstance
Advanced 16-bit timer with 4 channels instance.
src/timer/mod.rs:97
Class
AlarmState
src/embassy/time_driver_tim.rs:137
Class
AnyAdcChannel
A type-erased channel for a given ADC instance. This is useful in scenarios where you need the ADC channels to have the same type, such as storing th
src/adc.rs:240
Class
AnyChannel
src/exti.rs:15
Class
AnyChannel
Type-erased DMA channel.
src/dma/mod.rs:90
Class
AnyPin
Type-erased GPIO pin
src/gpio.rs:616
Class
Async
Async mode.
src/lib.rs:38
Enum
Async
Async flash mode typestate.
src/flash/mod.rs:16
Interface
BasicInstance
Basic timer instance, BCTM
src/timer/mod.rs:72
Class
Bit16MaskReg
src/can/filter/bit16.rs:7
Class
Bit16Mode
src/can/filter/mod.rs:29
Class
Bit32Mode
src/can/filter/mod.rs:30
Interface
BitMode
src/can/filter/mod.rs:25
Enum
BitOrder
src/spi.rs:45
Class
Blocking
Blocking mode.
src/lib.rs:36
Enum
Blocking
Blocking flash mode typestate.
src/flash/mod.rs:14
Class
Bus
USB bus.
src/usbd.rs:456
Class
Bus
src/otg_fs/mod.rs:286
Class
Bus
src/usbhs/mod.rs:312
Class
Can
src/can/can.rs:66
Enum
CanError
src/can/error.rs:2
Enum
CanError
src/can/enums.rs:2
Enum
CanFifo
src/can/enums.rs:104
Class
CanFilter
See table 24-1 of the reference manual for more details on filtering and modes. Each filter is applied for only one bank and for one register on it ba
src/can/filter/mod.rs:46
Class
CanFrame
src/can/frame.rs:4
Enum
CanInitError
src/can/can.rs:76
Enum
CanMode
src/can/enums.rs:69
Class
CanModeRegs
src/can/enums.rs:76
Class
Card
SD Card
src/sdio.rs:128
Interface
CcPin
src/usbpd/mod.rs:522
Enum
Ch1
Channel 1 marker type.
src/timer/simple_pwm.rs:12
Enum
Ch2
Channel 2 marker type.
src/timer/simple_pwm.rs:14
Enum
Ch3
Channel 3 marker type.
src/timer/simple_pwm.rs:16
Enum
Ch4
Channel 4 marker type.
src/timer/simple_pwm.rs:18
Enum
Channel
src/timer/mod.rs:23
Interface
Channel
src/exti.rs:6
Interface
Channel
src/dma/mod.rs:55
Class
ChannelAndRequest
Convenience wrapper, contains a channel and a request number. Commonly used in peripheral drivers that own DMA channels.
src/dma/util.rs:8
Class
ChannelInfo
src/dma/dma_bdma.rs:14
Interface
ChannelInterrupt
src/dma/mod.rs:48
Class
ChannelState
src/dma/dma_bdma.rs:104
Class
Clocks
src/rcc/mod.rs:17
Class
Cmd
A SD command
src/sdio.rs:120
Enum
CmdAppOper
src/sdio.rs:162
Class
ComplementaryPwm
PWM driver with support for standard and complementary outputs.
src/timer/complementary_pwm.rs:46
Class
ComplementaryPwmPin
Complementary PWM pin wrapper. This wraps a pin to make it usable with PWM.
src/timer/complementary_pwm.rs:17
Class
Config
src/i2c.rs:84
Class
Config
src/adc.rs:24
Class
Config
src/sdio.rs:221
Class
Config
src/lib.rs:157
Class
Config
src/spi.rs:54
Class
Config
src/usart/mod.rs:108
Class
Config
src/can/can.rs:51
Class
Config
src/rcc/ch641.rs:17
Class
Config
src/rcc/v1.rs:51
Class
Config
src/rcc/v3.rs:97
Class
Config
src/rcc/v00x.rs:25
Class
Config
src/rcc/v003.rs:27
Class
Config
src/rcc/x0.rs:9
Enum
ConfigError
src/usart/mod.rs:160
Class
ControlPipe
USB control pipe.
src/usbd.rs:783
Class
ControlPipe
src/otg_fs/endpoint.rs:195
Class
ControlPipe
src/usbhs/control.rs:12
Interface
CoreInstance
Core timer instance.
src/timer/mod.rs:58
Enum
CountingMode
src/timer/low_level.rs:43
Class
Dac
DAC driver. Use this struct when you want to use both channels, either together or independently. # Example ```ignore // Pins may need to be change
src/dac.rs:249
Class
DacChannel
Driver for a single DAC channel. If you want to use both channels, either together or independently, create a [`Dac`] first and use it to access each
src/dac.rs:55
Interface
DacPin
Marks a pin that can be used with the DAC
src/dac.rs:350
Enum
DataBits
src/usart/mod.rs:80
Class
DataBlock
src/sdio.rs:77
Class
Delay
A delay provided by the SysTick core peripheral This requires SysTick to be set up and running. Assumes conditions: upcount, hclk. hclk/8 is not accu
src/delay/impl_qingke_v2_v4.rs:13
Class
Delay
A delay provided by the SysTick core peripheral This requires SysTick to be set up and running. Assumes conditions: upcount, hclk. hclk/8 is not accu
src/delay/impl_qingke_v3.rs:10
Class
Device
examples/ch32l103/src/bin/usbpd.rs:108
Class
Device
examples/ch32x035/src/bin/usbpd.rs:108
Class
DfuDemoDevice
examples/ch32v307/src/bin/usbfs_dfu.rs:20
Class
DfuRequestHandler
examples/ch32v307/src/bin/usbfs_dfu.rs:126
Enum
Dir
src/dma/mod.rs:37
Interface
Dir
src/usbd.rs:622
Interface
Dir
USB Direction Trait
src/usb/mod.rs:116
Class
Disconnected
examples/ch32v203/src/bin/usbd.rs:86
Class
Disconnected
examples/ch32v307/src/bin/usb_hs_serial.rs:79
Interface
DmaCtrl
src/dma/ringbuffer.rs:43
Enum
DmaInfo
src/dma/dma_bdma.rs:20
Class
Driver
USB driver.
src/usbd.rs:213
Class
Driver
src/otg_fs/mod.rs:104
Class
Driver
src/usbhs/mod.rs:127
Class
DropBomb
src/internal/drop.rs:37
Enum
DualValue
Dual 8 or 12 bit values that can be output by the DAC channels 1 and 2 simultaneously. 12-bit values outside the permitted range are silently truncat
src/dac.rs:30
Class
DummyI2cDeviceDriver
Dummy I2C device driver, using `embedded-hal-async`
examples/ch32v003/src/bin/embassy_i2c_shared_bus.rs:64
next →
1–100 of 313, ranked by callers