#[repr(transparent)]pub struct Pdsleepcfg1(pub u32);Expand description
Sleep configuration 1
Tuple Fields§
§0: u32Implementations§
Source§impl Pdsleepcfg1
impl Pdsleepcfg1
Sourcepub const fn pq_sram_apd(&self) -> Pdsleepcfg1PqSramApd
pub const fn pq_sram_apd(&self) -> Pdsleepcfg1PqSramApd
Array power
Sourcepub const fn set_pq_sram_apd(&mut self, val: Pdsleepcfg1PqSramApd)
pub const fn set_pq_sram_apd(&mut self, val: Pdsleepcfg1PqSramApd)
Array power
Sourcepub const fn pq_sram_ppd(&self) -> Pdsleepcfg1PqSramPpd
pub const fn pq_sram_ppd(&self) -> Pdsleepcfg1PqSramPpd
Peiph power
Sourcepub const fn set_pq_sram_ppd(&mut self, val: Pdsleepcfg1PqSramPpd)
pub const fn set_pq_sram_ppd(&mut self, val: Pdsleepcfg1PqSramPpd)
Peiph power
Sourcepub const fn flexspi_sram_apd(&self) -> Pdsleepcfg1FlexspiSramApd
pub const fn flexspi_sram_apd(&self) -> Pdsleepcfg1FlexspiSramApd
Array power
Sourcepub const fn set_flexspi_sram_apd(&mut self, val: Pdsleepcfg1FlexspiSramApd)
pub const fn set_flexspi_sram_apd(&mut self, val: Pdsleepcfg1FlexspiSramApd)
Array power
Sourcepub const fn flexspi_sram_ppd(&self) -> Pdsleepcfg1FlexspiSramPpd
pub const fn flexspi_sram_ppd(&self) -> Pdsleepcfg1FlexspiSramPpd
Peiph power
Sourcepub const fn set_flexspi_sram_ppd(&mut self, val: Pdsleepcfg1FlexspiSramPpd)
pub const fn set_flexspi_sram_ppd(&mut self, val: Pdsleepcfg1FlexspiSramPpd)
Peiph power
Sourcepub const fn usbhs_sram_apd(&self) -> Pdsleepcfg1UsbhsSramApd
pub const fn usbhs_sram_apd(&self) -> Pdsleepcfg1UsbhsSramApd
Array power
Sourcepub const fn set_usbhs_sram_apd(&mut self, val: Pdsleepcfg1UsbhsSramApd)
pub const fn set_usbhs_sram_apd(&mut self, val: Pdsleepcfg1UsbhsSramApd)
Array power
Sourcepub const fn usbhs_sram_ppd(&self) -> Pdsleepcfg1UsbhsSramPpd
pub const fn usbhs_sram_ppd(&self) -> Pdsleepcfg1UsbhsSramPpd
Peiph power
Sourcepub const fn set_usbhs_sram_ppd(&mut self, val: Pdsleepcfg1UsbhsSramPpd)
pub const fn set_usbhs_sram_ppd(&mut self, val: Pdsleepcfg1UsbhsSramPpd)
Peiph power
Sourcepub const fn usdhc0_sram_apd(&self) -> Pdsleepcfg1Usdhc0SramApd
pub const fn usdhc0_sram_apd(&self) -> Pdsleepcfg1Usdhc0SramApd
Array power
Sourcepub const fn set_usdhc0_sram_apd(&mut self, val: Pdsleepcfg1Usdhc0SramApd)
pub const fn set_usdhc0_sram_apd(&mut self, val: Pdsleepcfg1Usdhc0SramApd)
Array power
Sourcepub const fn usdhc0_sram_ppd(&self) -> Pdsleepcfg1Usdhc0SramPpd
pub const fn usdhc0_sram_ppd(&self) -> Pdsleepcfg1Usdhc0SramPpd
Peiph power
Sourcepub const fn set_usdhc0_sram_ppd(&mut self, val: Pdsleepcfg1Usdhc0SramPpd)
pub const fn set_usdhc0_sram_ppd(&mut self, val: Pdsleepcfg1Usdhc0SramPpd)
Peiph power
Sourcepub const fn usdhc1_sram_apd(&self) -> Pdsleepcfg1Usdhc1SramApd
pub const fn usdhc1_sram_apd(&self) -> Pdsleepcfg1Usdhc1SramApd
Array power
Sourcepub const fn set_usdhc1_sram_apd(&mut self, val: Pdsleepcfg1Usdhc1SramApd)
pub const fn set_usdhc1_sram_apd(&mut self, val: Pdsleepcfg1Usdhc1SramApd)
Array power
Sourcepub const fn usdhc1_sram_ppd(&self) -> Pdsleepcfg1Usdhc1SramPpd
pub const fn usdhc1_sram_ppd(&self) -> Pdsleepcfg1Usdhc1SramPpd
Peiph power
Sourcepub const fn set_usdhc1_sram_ppd(&mut self, val: Pdsleepcfg1Usdhc1SramPpd)
pub const fn set_usdhc1_sram_ppd(&mut self, val: Pdsleepcfg1Usdhc1SramPpd)
Peiph power
Sourcepub const fn casper_sram_apd(&self) -> Pdsleepcfg1CasperSramApd
pub const fn casper_sram_apd(&self) -> Pdsleepcfg1CasperSramApd
Array power
Sourcepub const fn set_casper_sram_apd(&mut self, val: Pdsleepcfg1CasperSramApd)
pub const fn set_casper_sram_apd(&mut self, val: Pdsleepcfg1CasperSramApd)
Array power
Sourcepub const fn casper_sram_ppd(&self) -> Pdsleepcfg1CasperSramPpd
pub const fn casper_sram_ppd(&self) -> Pdsleepcfg1CasperSramPpd
Peiph power
Sourcepub const fn set_casper_sram_ppd(&mut self, val: Pdsleepcfg1CasperSramPpd)
pub const fn set_casper_sram_ppd(&mut self, val: Pdsleepcfg1CasperSramPpd)
Peiph power
Sourcepub const fn dspcache_regf_apd(&self) -> Pdsleepcfg1DspcacheRegfApd
pub const fn dspcache_regf_apd(&self) -> Pdsleepcfg1DspcacheRegfApd
Array power
Sourcepub const fn set_dspcache_regf_apd(&mut self, val: Pdsleepcfg1DspcacheRegfApd)
pub const fn set_dspcache_regf_apd(&mut self, val: Pdsleepcfg1DspcacheRegfApd)
Array power
Sourcepub const fn dspcache_regf_ppd(&self) -> Pdsleepcfg1DspcacheRegfPpd
pub const fn dspcache_regf_ppd(&self) -> Pdsleepcfg1DspcacheRegfPpd
Peiph power
Sourcepub const fn set_dspcache_regf_ppd(&mut self, val: Pdsleepcfg1DspcacheRegfPpd)
pub const fn set_dspcache_regf_ppd(&mut self, val: Pdsleepcfg1DspcacheRegfPpd)
Peiph power
Sourcepub const fn dsptcm_regf_apd(&self) -> Pdsleepcfg1DsptcmRegfApd
pub const fn dsptcm_regf_apd(&self) -> Pdsleepcfg1DsptcmRegfApd
Array power
Sourcepub const fn set_dsptcm_regf_apd(&mut self, val: Pdsleepcfg1DsptcmRegfApd)
pub const fn set_dsptcm_regf_apd(&mut self, val: Pdsleepcfg1DsptcmRegfApd)
Array power
Sourcepub const fn dsptcm_regf_ppd(&self) -> Pdsleepcfg1DsptcmRegfPpd
pub const fn dsptcm_regf_ppd(&self) -> Pdsleepcfg1DsptcmRegfPpd
Peiph power
Sourcepub const fn set_dsptcm_regf_ppd(&mut self, val: Pdsleepcfg1DsptcmRegfPpd)
pub const fn set_dsptcm_regf_ppd(&mut self, val: Pdsleepcfg1DsptcmRegfPpd)
Peiph power
Sourcepub const fn rom_pd(&self) -> Pdsleepcfg1RomPd
pub const fn rom_pd(&self) -> Pdsleepcfg1RomPd
array power and periph power
Sourcepub const fn set_rom_pd(&mut self, val: Pdsleepcfg1RomPd)
pub const fn set_rom_pd(&mut self, val: Pdsleepcfg1RomPd)
array power and periph power
Sourcepub const fn sram_sleep(&self) -> Pdsleepcfg1SramSleep
pub const fn sram_sleep(&self) -> Pdsleepcfg1SramSleep
Needed when vddcore can be smaller than 0
Sourcepub const fn set_sram_sleep(&mut self, val: Pdsleepcfg1SramSleep)
pub const fn set_sram_sleep(&mut self, val: Pdsleepcfg1SramSleep)
Needed when vddcore can be smaller than 0
Trait Implementations§
Source§impl Clone for Pdsleepcfg1
impl Clone for Pdsleepcfg1
Source§fn clone(&self) -> Pdsleepcfg1
fn clone(&self) -> Pdsleepcfg1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Pdsleepcfg1
impl Debug for Pdsleepcfg1
Source§impl Default for Pdsleepcfg1
impl Default for Pdsleepcfg1
Source§fn default() -> Pdsleepcfg1
fn default() -> Pdsleepcfg1
Returns the “default value” for a type. Read more
Source§impl PartialEq for Pdsleepcfg1
impl PartialEq for Pdsleepcfg1
impl Copy for Pdsleepcfg1
impl Eq for Pdsleepcfg1
impl StructuralPartialEq for Pdsleepcfg1
Auto Trait Implementations§
impl Freeze for Pdsleepcfg1
impl RefUnwindSafe for Pdsleepcfg1
impl Send for Pdsleepcfg1
impl Sync for Pdsleepcfg1
impl Unpin for Pdsleepcfg1
impl UnwindSafe for Pdsleepcfg1
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
Mutably borrows from an owned value. Read more