Struct stm32_metapac::rcc::regs::Apb2perckselr
#[repr(transparent)]pub struct Apb2perckselr(pub u32);
Expand description
RCC APB2 peripherals kernel clock selection register.
Tuple Fields§
§0: u32
Implementations§
§impl Apb2perckselr
impl Apb2perckselr
pub const fn usart1sel(&self) -> Usart1sel
pub const fn usart1sel(&self) -> Usart1sel
USART1 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub fn set_usart1sel(&mut self, val: Usart1sel)
pub fn set_usart1sel(&mut self, val: Usart1sel)
USART1 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub const fn spi45sel(&self) -> Spi45sel
pub const fn spi45sel(&self) -> Spi45sel
SPI4 and 5 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub fn set_spi45sel(&mut self, val: Spi45sel)
pub fn set_spi45sel(&mut self, val: Spi45sel)
SPI4 and 5 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub const fn spi1sel(&self) -> Spi123sel
pub const fn spi1sel(&self) -> Spi123sel
SPI/I2S1 kernel clock source selection Set and reset by software. If the selected clock is the external clock and this clock is stopped, it is not be possible to switch to another clock. Refer to Clock switches and gating on page 437 for additional information. others: reserved, the kernel clock is disabled Note: I2S_CKIN is an external clock taken from a pin.
pub fn set_spi1sel(&mut self, val: Spi123sel)
pub fn set_spi1sel(&mut self, val: Spi123sel)
SPI/I2S1 kernel clock source selection Set and reset by software. If the selected clock is the external clock and this clock is stopped, it is not be possible to switch to another clock. Refer to Clock switches and gating on page 437 for additional information. others: reserved, the kernel clock is disabled Note: I2S_CKIN is an external clock taken from a pin.
pub const fn sai1sel(&self) -> Sai1sel
pub const fn sai1sel(&self) -> Sai1sel
SAI1 kernel clock source selection Set and reset by software. If the selected clock is the external clock and this clock is stopped, it is not possible to switch to another clock. Refer to Clock switches and gating on page 437 for additional information. others: reserved, the kernel clock is disabled Note: I2S_CKIN is an external clock taken from a pin.
pub fn set_sai1sel(&mut self, val: Sai1sel)
pub fn set_sai1sel(&mut self, val: Sai1sel)
SAI1 kernel clock source selection Set and reset by software. If the selected clock is the external clock and this clock is stopped, it is not possible to switch to another clock. Refer to Clock switches and gating on page 437 for additional information. others: reserved, the kernel clock is disabled Note: I2S_CKIN is an external clock taken from a pin.
pub const fn sai2sel(&self) -> Sai2sel
pub const fn sai2sel(&self) -> Sai2sel
SAI2 kernel clock source selection Set and reset by software. If the selected clock is the external clock and this clock is stopped, it is not possible to switch to another clock. Refer to Clock switches and gating on page 437 for additional information. others: reserved, the kernel clock is disabled Note: I2S_CKIN is an external clock taken from a pin. spdifrx_symb_ck is the symbol clock generated by the spdifrx (see Figure 51).
pub fn set_sai2sel(&mut self, val: Sai2sel)
pub fn set_sai2sel(&mut self, val: Sai2sel)
SAI2 kernel clock source selection Set and reset by software. If the selected clock is the external clock and this clock is stopped, it is not possible to switch to another clock. Refer to Clock switches and gating on page 437 for additional information. others: reserved, the kernel clock is disabled Note: I2S_CKIN is an external clock taken from a pin. spdifrx_symb_ck is the symbol clock generated by the spdifrx (see Figure 51).
Trait Implementations§
§impl Clone for Apb2perckselr
impl Clone for Apb2perckselr
§fn clone(&self) -> Apb2perckselr
fn clone(&self) -> Apb2perckselr
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for Apb2perckselr
impl Default for Apb2perckselr
§fn default() -> Apb2perckselr
fn default() -> Apb2perckselr
§impl PartialEq for Apb2perckselr
impl PartialEq for Apb2perckselr
impl Copy for Apb2perckselr
impl Eq for Apb2perckselr
impl StructuralPartialEq for Apb2perckselr
Auto Trait Implementations§
impl Freeze for Apb2perckselr
impl RefUnwindSafe for Apb2perckselr
impl Send for Apb2perckselr
impl Sync for Apb2perckselr
impl Unpin for Apb2perckselr
impl UnwindSafe for Apb2perckselr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)