Struct Apbrstr1
#[repr(transparent)]pub struct Apbrstr1(pub u32);
Expand description
RCC APB peripheral reset register 1
Tuple Fields§
§0: u32
Implementations§
§impl Apbrstr1
impl Apbrstr1
pub const fn tim2rst(&self) -> bool
pub const fn tim2rst(&self) -> bool
TIM2 timer reset Set and cleared by software. Note: Only applicable on STM32C071xx, reserved on other devices.
pub fn set_tim2rst(&mut self, val: bool)
pub fn set_tim2rst(&mut self, val: bool)
TIM2 timer reset Set and cleared by software. Note: Only applicable on STM32C071xx, reserved on other devices.
pub fn set_tim3rst(&mut self, val: bool)
pub fn set_tim3rst(&mut self, val: bool)
TIM3 timer reset Set and cleared by software.
pub fn set_fdcan1rst(&mut self, val: bool)
pub fn set_fdcan1rst(&mut self, val: bool)
FDCAN1 reset Set and cleared by software.
pub const fn usbrst(&self) -> bool
pub const fn usbrst(&self) -> bool
USB reset Set and cleared by software. Note: Only applicable on STM32C071xx, reserved on other devices.
pub fn set_usbrst(&mut self, val: bool)
pub fn set_usbrst(&mut self, val: bool)
USB reset Set and cleared by software. Note: Only applicable on STM32C071xx, reserved on other devices.
pub const fn spi2rst(&self) -> bool
pub const fn spi2rst(&self) -> bool
SPI2 reset Set and cleared by software. Note: Only applicable on STM32C071xx, reserved on other devices.
pub fn set_spi2rst(&mut self, val: bool)
pub fn set_spi2rst(&mut self, val: bool)
SPI2 reset Set and cleared by software. Note: Only applicable on STM32C071xx, reserved on other devices.
pub const fn crsrst(&self) -> bool
pub const fn crsrst(&self) -> bool
CRS reset Set and cleared by software. Note: Only applicable on STM32C071xx, reserved on other devices.
pub fn set_crsrst(&mut self, val: bool)
pub fn set_crsrst(&mut self, val: bool)
CRS reset Set and cleared by software. Note: Only applicable on STM32C071xx, reserved on other devices.
pub fn set_usart2rst(&mut self, val: bool)
pub fn set_usart2rst(&mut self, val: bool)
USART2 reset Set and cleared by software.
pub fn set_usart3rst(&mut self, val: bool)
pub fn set_usart3rst(&mut self, val: bool)
USART3 reset Set and cleared by software.
pub fn set_usart4rst(&mut self, val: bool)
pub fn set_usart4rst(&mut self, val: bool)
USART4 reset Set and cleared by software.
pub fn set_i2c1rst(&mut self, val: bool)
pub fn set_i2c1rst(&mut self, val: bool)
I2C1 reset Set and cleared by software.
pub const fn i2c2rst(&self) -> bool
pub const fn i2c2rst(&self) -> bool
I2C2 reset Set and cleared by software. Note: Only applicable on STM32C071xx, reserved on other devices.
pub fn set_i2c2rst(&mut self, val: bool)
pub fn set_i2c2rst(&mut self, val: bool)
I2C2 reset Set and cleared by software. Note: Only applicable on STM32C071xx, reserved on other devices.
pub fn set_dbgrst(&mut self, val: bool)
pub fn set_dbgrst(&mut self, val: bool)
Debug support reset Set and cleared by software.
pub fn set_pwrrst(&mut self, val: bool)
pub fn set_pwrrst(&mut self, val: bool)
Power interface reset Set and cleared by software.