Struct Pllsscgr
#[repr(transparent)]pub struct Pllsscgr(pub u32);Expand description
RCC PLL1 Spread Spectrum Clock Generator register.
Tuple Fields§
§0: u32Implementations§
§impl Pllsscgr
impl Pllsscgr
pub const fn modper(&self) -> u16
pub const fn modper(&self) -> u16
Modulation Period Adjustment for PLL1 Set and reset by software to adjust the modulation period of the clock spreading generator.
pub const fn set_modper(&mut self, val: u16)
pub const fn set_modper(&mut self, val: u16)
Modulation Period Adjustment for PLL1 Set and reset by software to adjust the modulation period of the clock spreading generator.
pub const fn tpdfndis(&self) -> bool
pub const fn tpdfndis(&self) -> bool
Dithering TPDF noise control for PLL1 Set and reset by software. This bit is used to enable or disable the injection of a dithering noise into the SSCG modulator. This dithering noise is generated using a triangular probability density function.
pub const fn set_tpdfndis(&mut self, val: bool)
pub const fn set_tpdfndis(&mut self, val: bool)
Dithering TPDF noise control for PLL1 Set and reset by software. This bit is used to enable or disable the injection of a dithering noise into the SSCG modulator. This dithering noise is generated using a triangular probability density function.
pub const fn rpdfndis(&self) -> bool
pub const fn rpdfndis(&self) -> bool
Dithering RPDF noise control for PLL1 Set and reset by software. This bit is used to enable or disable the injection of a dithering noise into the SSCG modulator. This dithering noise is generated using a rectangular probability density function.
pub const fn set_rpdfndis(&mut self, val: bool)
pub const fn set_rpdfndis(&mut self, val: bool)
Dithering RPDF noise control for PLL1 Set and reset by software. This bit is used to enable or disable the injection of a dithering noise into the SSCG modulator. This dithering noise is generated using a rectangular probability density function.
pub const fn spreadsel(&self) -> Spreadsel
pub const fn spreadsel(&self) -> Spreadsel
Spread spectrum clock generator mode for PLL1 Set and reset by software to select the clock spreading mode.
pub const fn set_spreadsel(&mut self, val: Spreadsel)
pub const fn set_spreadsel(&mut self, val: Spreadsel)
Spread spectrum clock generator mode for PLL1 Set and reset by software to select the clock spreading mode.
pub const fn incstep(&self) -> u16
pub const fn incstep(&self) -> u16
Modulation Depth Adjustment for PLL1 Set and reset by software to adjust the modulation depth of the clock spreading generator.
pub const fn set_incstep(&mut self, val: u16)
pub const fn set_incstep(&mut self, val: u16)
Modulation Depth Adjustment for PLL1 Set and reset by software to adjust the modulation depth of the clock spreading generator.