MCPcopy Create free account

hub / github.com/ch32-rs/ch32-hal / functions

Functions1,020 in github.com/ch32-rs/ch32-hal

↓ 1 callersMethodenter_init_mode
(&self)
src/can/registers.rs:16
↓ 1 callersFunctionerase_sector_unlocked
(sector: &FlashSector)
src/flash/common.rs:154
↓ 1 callersFunctionethernet_task
(runner: eth::Runner<'static, GenericSMI>)
examples/ch32v208/src/bin/eth_echo.rs:27
↓ 1 callersFunctionethernet_task
(runner: eth::Runner<'static, GenericSMI>)
examples/ch32v208/src/bin/eth.rs:21
↓ 1 callersMethodfill_bytes
(&mut self, dest: &mut [u8])
src/rng.rs:168
↓ 1 callersMethodfind_free_ep_address
(&self, _dir: Direction)
src/otg_fs/mod.rs:137
↓ 1 callersMethodfind_free_ep_address
(&self, _dir: Direction)
src/usbhs/mod.rs:190
↓ 1 callersMethodflush
(&mut self)
src/spi.rs:609
↓ 1 callersMethodfr_id_mask_reg
Offset in `usize` for bank `n` filter register 2
src/can/filter/mod.rs:72
↓ 1 callersMethodfr_id_value_reg
Offset in `usize` for bank `n` filter register 1
src/can/filter/mod.rs:67
↓ 1 callersMethodget_channel_enable_state
Get enable/disable state of a channel
src/timer/low_level.rs:456
↓ 1 callersMethodget_duty
Get the duty for a given channel. The value ranges from 0 for 0% duty, to [`get_max_duty`](Self::get_max_duty) for 100% duty, both included.
src/timer/simple_pwm.rs:141
↓ 1 callersMethodget_remaining_transfers
(&self)
src/dma/dma_bdma.rs:254
↓ 1 callersMethodget_scr
(&mut self, card: &mut Card)
src/sdio.rs:711
↓ 1 callersMethodget_update_dma_state
GPTM_2CH
src/timer/low_level.rs:323
↓ 1 callersFunctionhello
()
examples/ch32v305/src/bin/demo.rs:27
↓ 1 callersFunctionhello
()
examples/ch32v203/src/bin/flash_sections.rs:27
↓ 1 callersFunctionhsl_to_rgb
hsl: [1.0, 1.0, 1.0] -> [255.0, 255.0, 255.0]
examples/ch32v003/src/bin/gpio_ws2812.rs:63
↓ 1 callersMethodid
(&self)
src/dma/mod.rs:102
↓ 1 callersMethodinfo
(&self)
src/usbhs/endpoint.rs:156
↓ 1 callersMethodinit
init as master mode
src/i2c.rs:192
↓ 1 callersMethodinit
(&'static self, _cs: critical_section::CriticalSection)
src/embassy/time_driver_systick.rs:32
↓ 1 callersMethodinit
(&'static self, cs: critical_section::CriticalSection)
src/embassy/time_driver_tim.rs:166
↓ 1 callersMethodinit
(&mut self)
examples/ch32v003/src/bin/spi-lcd-st7735-cube.rs:80
↓ 1 callersMethodinit
(&mut self)
examples/ch32x035/src/bin/spi-lcd-st7735.rs:101
↓ 1 callersMethodinit_card
Initializes card (if present) and sets the bus at the specified frequency.
src/sdio.rs:839
↓ 1 callersMethodinner_read_run
( &mut self, buffer: &mut [u8], enable_idle_line_detection: bool, )
src/usart/mod.rs:467
↓ 1 callersMethodinto
(self)
src/can/enums.rs:46
↓ 1 callersMethodis_busy
()
src/debug.rs:31
↓ 1 callersMethodis_enabled
Check whether given channel is enabled
src/timer/simple_pwm.rs:106
↓ 1 callersMethodis_high
(&self)
src/exti.rs:159
↓ 1 callersMethodis_low
(&self)
src/exti.rs:163
↓ 1 callersMethodis_set_low
(&self)
src/gpio.rs:201
↓ 1 callersMethodleave_init_mode
(&self)
src/can/registers.rs:30
↓ 1 callersMethodlink_up
(&mut self, sm: &mut S)
src/eth/generic_smi.rs:56
↓ 1 callersMethodmut_address
(&mut self)
src/usbpd/mod.rs:105
↓ 1 callersFunctionnet_task
(mut runner: embassy_net::Runner<'static, eth::Device<'static>>)
examples/ch32v208/src/bin/eth_echo.rs:22
↓ 1 callersFunctionnet_task
(mut runner: embassy_net::Runner<'static, eth::Device<'static>>)
examples/ch32v208/src/bin/eth.rs:16
↓ 1 callersFunctionnet_task
(mut runner: embassy_net::Runner<'static, Device>)
examples/ch32v307/src/bin/eth.rs:35
↓ 1 callersFunctionon_interrupt
()
src/i2c.rs:41
↓ 1 callersMethodon_interrupt
(&self)
src/embassy/time_driver_systick.rs:62
↓ 1 callersMethodphy_init
(&mut self, smi: &Smi)
src/eth/v1/mod.rs:443
↓ 1 callersMethodphy_reset
(&mut self, smi: &Smi)
src/eth/v1/mod.rs:437
↓ 1 callersMethodpoll_link
(&mut self, smi: &Smi, _cx: &mut Context)
src/eth/v1/mod.rs:455
↓ 1 callersMethodprepare_datapath_write
# Safety `buffer` must be valid for the whole transfer and word aligned
src/sdio.rs:451
↓ 1 callersFunctionprint_source_capability
(pdo: &usbpd::protocol_layer::message::data::source_capabilities::PowerDataObject)
examples/ch32l103/src/bin/usbpd.rs:24
↓ 1 callersFunctionprint_source_capability
(pdo: &usbpd::protocol_layer::message::data::source_capabilities::PowerDataObject)
examples/ch32x035/src/bin/usbpd.rs:24
↓ 1 callersMethodrdes0
(&self)
src/eth/v1/mod.rs:140
↓ 1 callersMethodread
Read elements from the ring buffer Return a tuple of the length read and the length remaining in the buffer If not all of the elements were read, then
src/dma/ringbuffer.rs:121
↓ 1 callersMethodread_byte
(&mut self, addr: u16)
examples/ch32v307/src/bin/i2c-eeprom.rs:36
↓ 1 callersMethodread_raw
( &'a mut self, peri_addr: *mut W, buf: *mut [W], options: TransferOptions,
src/dma/util.rs:23
↓ 1 callersMethodread_status
Query the card status (CMD13, returns R1)
src/sdio.rs:612
↓ 1 callersMethodread_until_idle
Initiate an asynchronous read with idle line detection enabled
src/usart/mod.rs:463
↓ 1 callersMethodrecover_seed_error
Try to recover from a seed error.
src/rng.rs:81
↓ 1 callersMethodselect_card
Select one card and place it into the _Tranfer State_ If `None` is specifed for `card`, all cards are put back into _Stand-by State_
src/sdio.rs:679
↓ 1 callersMethodsend_byte
(&self, byte: u8, timeout: Timeout)
src/i2c.rs:326
↓ 1 callersMethodset_as_analog
(&self)
src/gpio.rs:575
↓ 1 callersMethodset_as_output_open_drain
(&mut self, speed: Speed)
src/gpio.rs:164
↓ 1 callersMethodset_bit_timing_and_mode
(&self, bt: super::util::NominalBitTiming, mode: super::CanMode)
src/can/registers.rs:41
↓ 1 callersMethodset_complementary_output_polarity
Set complementary output polarity.
src/timer/low_level.rs:552
↓ 1 callersMethodset_dead_time_clock_division
Set clock divider for the dead time.
src/timer/low_level.rs:537
↓ 1 callersMethodset_dead_time_value
Set dead time, as a fraction of the max duty value.
src/timer/low_level.rs:542
↓ 1 callersMethodset_frequency
Set PWM frequency. Note: when you call this, the max duty value changes, so you will have to call `set_duty` on all channels with the duty calculated
src/timer/complementary_pwm.rs:110
↓ 1 callersMethodset_frequency
Set PWM frequency. Note: when you call this, the max duty value changes, so you will have to call `set_duty` on all channels with the duty calculated
src/timer/simple_pwm.rs:114
↓ 1 callersMethodset_output_compare_mode
Set the output compare mode for a given channel.
src/timer/simple_pwm.rs:151
↓ 1 callersMethodset_rdes1
(&mut self, val: u32)
src/eth/v1/mod.rs:150
↓ 1 callersMethodset_rdes2
(&mut self, val: u32)
src/eth/v1/mod.rs:155
↓ 1 callersMethodset_rdes3
(&mut self, val: u32)
src/eth/v1/mod.rs:160
↓ 1 callersMethodset_tdes3
(&mut self, val: u32)
src/eth/v1/mod.rs:115
↓ 1 callersMethodsetup
(&mut self)
src/usbd.rs:795
↓ 1 callersFunctionslice_ptr_parts_mut
(slice: *mut [T])
src/dma/mod.rs:118
↓ 1 callersFunctionspin_until_rx_ready
(regs: &pac::spi::Spi)
src/spi.rs:673
↓ 1 callersFunctionspin_until_tx_ready
(regs: &pac::spi::Spi)
src/spi.rs:661
↓ 1 callersMethodsplit
Split this `Dac` into separate channels. You can access and move the channels around separately after splitting.
src/dac.rs:303
↓ 1 callersMethodsplit
Split the Uart into a transmitter and receiver, which is particularly useful when having two tasks correlating to transmitting and receiving.
src/usart/mod.rs:804
↓ 1 callersMethodstart
(&self)
src/dma/dma_bdma.rs:204
↓ 1 callersMethodswitch_signalling_mode
Switch mode using CMD6. Attempt to set a new signalling mode. The selected signalling mode is returned. Expects the current clock frequency to be > 1
src/sdio.rs:535
↓ 1 callersMethodto_slice
(&self)
src/usbpd/mod.rs:97
↓ 1 callersMethodtransmit
Submit the current TX buffer to the DMA for transmission.
src/eth/v1/mod.rs:210
↓ 1 callersMethodtrigger_alarm
(&self, cs: CriticalSection)
src/embassy/time_driver_systick.rs:78
↓ 1 callersMethodtrigger_alarm
(&self, cs: CriticalSection)
src/embassy/time_driver_tim.rs:255
↓ 1 callersMethoduse_16bit
Convert filter to 16bit mode Register values in selected bank will be reset
src/can/filter/bit32.rs:8
↓ 1 callersMethodwait_enabled_internal
(&mut self)
src/otg_fs/endpoint.rs:31
↓ 1 callersMethodwait_enabled_internal
(&mut self)
src/usbhs/endpoint.rs:38
↓ 1 callersMethodwait_for_any_edge
(&'a mut self)
src/exti.rs:195
↓ 1 callersMethodwrite
SPI write, using DMA.
src/spi.rs:461
↓ 1 callersMethodwrite
Write elements from the ring buffer Return a tuple of the length written and the capacity remaining to be written in the buffer
src/dma/ringbuffer.rs:305
↓ 1 callersMethodwrite_byte
(&mut self, addr: u16, byte: u8)
examples/ch32v307/src/bin/i2c-eeprom.rs:26
↓ 1 callersFunctionwrite_chunk_unlocked
(address: u32, chunk: &[u8])
src/flash/common.rs:105
↓ 1 callersMethodwrite_raw
( &'a mut self, buf: *const [W], peri_addr: *mut W, options: TransferOptions,
src/dma/util.rs:41
↓ 1 callersMethodwrite_raw_framebuffer
(&mut self, raw: &[u8])
examples/ch32v305/src/bin/spi-lcd-st7735-cube.rs:153
↓ 1 callersMethodwrite_raw_pixel
(&mut self, x: u16, y: u16, data: &[u8])
examples/ch32v305/src/bin/spi-lcd-st7735-cube.rs:160
↓ 1 callersMethodwrite_raw_pixel
(&mut self, x: u16, y: u16, data: &[u8])
examples/ch32v203/src/bin/spi-lcd-st7735.rs:156
↓ 1 callersMethodwrite_raw_pixel
(&mut self, x: u16, y: u16, data: &[u8])
examples/ch32v003/src/bin/spi-lcd-st7735-cube.rs:135
↓ 1 callersMethodwrite_raw_pixel
(&mut self, x: u16, y: u16, data: &[u8])
examples/ch32x035/src/bin/spi-lcd-st7735.rs:158
↓ 1 callersMethodwrite_repeated
( &'a mut self, repeated: &'a W, count: usize, peri_addr: *mut W, opti
src/dma/util.rs:50
↓ 1 callersFunctionwrite_start
(start_address: u32, buf: &[u8; WRITE_SIZE])
src/flash/v3.rs:50
FunctionETH
()
src/eth/v10m/mod.rs:53
FunctionETH
()
examples/ch32v307/src/bin/eth.rs:28
FunctionEXTI0
()
src/exti.rs:357
← previousnext →301–400 of 1,020, ranked by callers