Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ch32-rs/ch32-hal
/ functions
Functions
1,020 in github.com/ch32-rs/ch32-hal
⨍
Functions
1,020
◇
Types & classes
313
Method
dev_id
Returns the device identifier.
src/signature.rs:27
Method
dir
()
src/usbd.rs:629
Method
disable
(self)
src/interrupt_ext.rs:157
Method
disable
()
src/peripheral.rs:11
Method
disable
(&mut self)
src/usbd.rs:615
Method
disable
Disable this channel.
src/dac.rs:109
Method
disable
(&mut self)
src/otg_fs/mod.rs:337
Method
disable
Disable the given channel.
src/timer/complementary_pwm.rs:99
Method
disable
(&mut self)
src/usbhs/mod.rs:350
Function
disable_blocking_write
()
src/flash/other.rs:14
Method
div
(self, rhs: u32)
src/time.rs:51
Method
div
(self, rhs: APBPrescaler)
src/rcc/ch641.rs:106
Method
div
(self, rhs: PllPreDiv)
src/rcc/v1.rs:297
Method
div
(self, rhs: HsPllPrescaler)
src/rcc/v3.rs:79
Method
div
(self, rhs: APBPrescaler)
src/rcc/v003.rs:175
Method
draw_iter
(&mut self, pixels: I)
examples/ch32v305/src/bin/spi-lcd-st7735-cube.rs:196
Method
draw_iter
(&mut self, pixels: I)
examples/ch32v203/src/bin/spi-lcd-st7735.rs:192
Method
draw_iter
(&mut self, pixels: I)
examples/ch32v003/src/bin/spi-lcd-st7735-cube.rs:171
Method
draw_iter
(&mut self, pixels: I)
examples/ch32x035/src/bin/spi-lcd-st7735.rs:194
Method
drop
(&mut self)
src/i2c.rs:841
Method
drop
(&mut self)
src/sdio.rs:1126
Method
drop
(&mut self)
src/exti.rs:286
Method
drop
(&mut self)
src/dac.rs:234
Method
drop
(&mut self)
src/spi.rs:615
Method
drop
(&mut self)
src/usart/mod.rs:697
Method
drop
(&mut self)
src/internal/drop.rs:25
Method
drop
(&mut self)
src/eth/v1/mod.rs:742
Method
drop
(&mut self)
src/dma/dma_bdma.rs:432
Method
drop
(&mut self)
src/timer/low_level.rs:176
Function
empty_and_read_not_started
()
src/dma/ringbuffer.rs:447
Method
enable
(self)
src/interrupt_ext.rs:150
Method
enable
(&mut self)
src/usbd.rs:614
Method
enable
()
src/debug.rs:22
Method
enable
(&mut self)
src/otg_fs/mod.rs:323
Method
enable
Enable the given channel.
src/timer/complementary_pwm.rs:91
Method
enable
(&mut self)
src/usbhs/mod.rs:346
Method
enable_and_reset
()
src/peripheral.rs:8
Function
enable_blocking_write
()
src/flash/other.rs:11
Method
enable_input_interrupt
Enable input interrupt.
src/timer/low_level.rs:393
Method
enable_interrupts
pretty sure this should always be inlined
src/i2c.rs:478
Method
enable_outputs
(&self)
src/timer/mod.rs:75
Method
enable_update_interrupt
Enable/disable the update interrupt.
src/timer/low_level.rs:283
Method
endpoint_is_stalled
(&mut self, ep_addr: EndpointAddress)
src/usbd.rs:566
Method
endpoint_is_stalled
(&mut self, _ep_addr: EndpointAddress)
src/otg_fs/mod.rs:455
Method
endpoint_is_stalled
(&mut self, _ep_addr: EndpointAddress)
src/usbhs/mod.rs:417
Method
endpoint_set_enabled
(&mut self, ep_addr: EndpointAddress, enabled: bool)
src/usbd.rs:575
Method
endpoint_set_enabled
(&mut self, ep_addr: EndpointAddress, enabled: bool)
src/usbhs/mod.rs:389
Method
endpoint_set_stalled
(&mut self, ep_addr: EndpointAddress, stalled: bool)
src/usbd.rs:521
Method
endpoint_set_stalled
(&mut self, _ep_addr: EndpointAddress, _stalled: bool)
src/otg_fs/mod.rs:451
Method
endpoint_set_stalled
(&mut self, _ep_addr: EndpointAddress, _stalled: bool)
src/usbhs/mod.rs:413
Method
erase
(&mut self, from: u32, to: u32)
src/flash/common.rs:222
Function
erase_sector_with_critical_section
(sector: &FlashSector)
src/flash/common.rs:166
Method
fill_contiguous
( &mut self, area: &embedded_graphics::primitives::Rectangle, colors: I, )
examples/ch32v305/src/bin/spi-lcd-st7735-cube.rs:220
Method
fill_contiguous
( &mut self, area: &embedded_graphics::primitives::Rectangle, colors: I, )
examples/ch32v203/src/bin/spi-lcd-st7735.rs:216
Method
fill_contiguous
( &mut self, area: &embedded_graphics::primitives::Rectangle, colors: I, )
examples/ch32v003/src/bin/spi-lcd-st7735-cube.rs:195
Method
fill_contiguous
( &mut self, area: &embedded_graphics::primitives::Rectangle, colors: I, )
examples/ch32x035/src/bin/spi-lcd-st7735.rs:218
Method
fill_solid
( &mut self, area: &embedded_graphics::primitives::Rectangle, color: Self::Color,
examples/ch32v305/src/bin/spi-lcd-st7735-cube.rs:242
Method
fill_solid
( &mut self, area: &embedded_graphics::primitives::Rectangle, color: Self::Color,
examples/ch32v203/src/bin/spi-lcd-st7735.rs:238
Method
fill_solid
( &mut self, area: &embedded_graphics::primitives::Rectangle, color: Self::Color,
examples/ch32v003/src/bin/spi-lcd-st7735-cube.rs:217
Method
fill_solid
( &mut self, area: &embedded_graphics::primitives::Rectangle, color: Self::Color,
examples/ch32x035/src/bin/spi-lcd-st7735.rs:240
Function
flash_size_kb
E-signature values for CH32 series MCUs Returns the flash size in KByte
src/signature.rs:4
Method
fmt
(&self, f: &mut core::fmt::Formatter)
src/signature.rs:37
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/can/error.rs:27
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
src/can/enums.rs:29
Method
from
(value: Speed)
src/gpio.rs:38
Method
from
(value: [(StandardId, FilterOptions); 4])
src/can/filter/bit16.rs:62
Method
from
(value: Priority)
src/dma/dma_bdma.rs:69
Method
from
(tisel: InputTISelection)
src/timer/low_level.rs:31
Method
from
(val: EndpointError)
examples/ch32v203/src/bin/usbd.rs:89
Method
from
(val: EndpointError)
examples/ch32v307/src/bin/usb_hs_serial.rs:82
Method
from_cfgr
(cfgr: &pac::spi::regs::Ctlr1, bus_clk: Hertz)
src/spi.rs:95
Method
get
(&mut self, index: usize)
src/can/filter/bit32.rs:82
Method
get_capture_value
Get capture value for a channel.
src/timer/low_level.rs:484
Method
get_cc_dma_enable_state
(&self, channel: Channel)
src/timer/low_level.rs:517
Method
get_cc_dma_selection
no CTLR2
src/timer/low_level.rs:505
Method
get_complete_count
(&self)
src/dma/dma_bdma.rs:466
Method
get_counting_mode
(&self)
src/timer/mod.rs:77
Method
get_current_config
Get current SPI configuration. Useful for get the current baudrate.
src/spi.rs:221
Method
get_event
(&mut self, source_capabilities: &SourceCapabilities)
examples/ch32l103/src/bin/usbpd.rs:120
Method
get_event
(&mut self, source_capabilities: &SourceCapabilities)
examples/ch32x035/src/bin/usbpd.rs:120
Method
get_frequency
Get the timer frequency.
src/timer/low_level.rs:293
Method
get_level
(&self)
src/gpio.rs:190
Method
get_level
(&self)
src/exti.rs:167
Method
get_max_duty
Get max duty value. This value depends on the configured frequency and the timer's clock rate from RCC.
src/timer/complementary_pwm.rs:122
Method
get_output_level
(&self)
src/gpio.rs:207
Method
get_priority
(self)
src/interrupt_ext.rs:195
Method
gt0_3um
(&self)
examples/ch32x035/src/bin/uart_pms7003_async.rs:110
Method
gt0_5um
(&self)
examples/ch32x035/src/bin/uart_pms7003_async.rs:114
Method
gt10um
(&self)
examples/ch32x035/src/bin/uart_pms7003_async.rs:130
Method
gt1_0um
(&self)
examples/ch32x035/src/bin/uart_pms7003_async.rs:118
Method
gt2_5um
(&self)
examples/ch32x035/src/bin/uart_pms7003_async.rs:122
Method
gt5_0um
(&self)
examples/ch32x035/src/bin/uart_pms7003_async.rs:126
Method
hardware_address
(&self)
src/eth/v1/mod.rs:850
Method
hs_send_ext_csd
CMD8:
src/sdio.rs:1180
Method
hz
Create a `Hertz` from the given hertz.
src/time.rs:12
Method
id
Return ID
src/can/frame.rs:48
Method
info
(&self)
src/usbd.rs:668
Method
info
(&self)
src/otg_fs/endpoint.rs:71
Function
init
Enable the GPIO peripheral clock.
src/gpio.rs:668
Function
init
(_cs: critical_section::CriticalSection)
src/exti.rs:343
← previous
next →
501–600 of 1,020, ranked by callers