Type Alias esp32h2::usb_device::chip_rst::R

source ·
pub type R = R<CHIP_RST_SPEC>;
Expand description

Register CHIP_RST reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn rts(&self) -> RTS_R

Bit 0 - 1: Chip reset is detected from usb serial channel. Software write 1 to clear it.

source

pub fn dtr(&self) -> DTR_R

Bit 1 - 1: Chip reset is detected from usb jtag channel. Software write 1 to clear it.

source

pub fn usb_uart_chip_rst_dis(&self) -> USB_UART_CHIP_RST_DIS_R

Bit 2 - Set this bit to disable chip reset from usb serial channel to reset chip.