bl616_pac/glb/
wifi_pll_config_9.rs1#[doc = "Register `wifi_pll_config_9` reader"]
2pub struct R(crate::R<WIFI_PLL_CONFIG_9_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<WIFI_PLL_CONFIG_9_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<WIFI_PLL_CONFIG_9_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<WIFI_PLL_CONFIG_9_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Register `wifi_pll_config_9` writer"]
17pub struct W(crate::W<WIFI_PLL_CONFIG_9_SPEC>);
18impl core::ops::Deref for W {
19 type Target = crate::W<WIFI_PLL_CONFIG_9_SPEC>;
20 #[inline(always)]
21 fn deref(&self) -> &Self::Target {
22 &self.0
23 }
24}
25impl core::ops::DerefMut for W {
26 #[inline(always)]
27 fn deref_mut(&mut self) -> &mut Self::Target {
28 &mut self.0
29 }
30}
31impl From<crate::W<WIFI_PLL_CONFIG_9_SPEC>> for W {
32 #[inline(always)]
33 fn from(writer: crate::W<WIFI_PLL_CONFIG_9_SPEC>) -> Self {
34 W(writer)
35 }
36}
37impl W {
38 #[doc = "Writes raw bits to the register."]
39 #[inline(always)]
40 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
41 self.0.bits(bits);
42 self
43 }
44}
45#[doc = "Wireless Fidelity Phase-Locked Loop configuration 9\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [wifi_pll_config_9](index.html) module"]
46pub struct WIFI_PLL_CONFIG_9_SPEC;
47impl crate::RegisterSpec for WIFI_PLL_CONFIG_9_SPEC {
48 type Ux = u32;
49}
50#[doc = "`read()` method returns [wifi_pll_config_9::R](R) reader structure"]
51impl crate::Readable for WIFI_PLL_CONFIG_9_SPEC {
52 type Reader = R;
53}
54#[doc = "`write(|w| ..)` method takes [wifi_pll_config_9::W](W) writer structure"]
55impl crate::Writable for WIFI_PLL_CONFIG_9_SPEC {
56 type Writer = W;
57 const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
58 const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
59}
60#[doc = "`reset()` method sets wifi_pll_config_9 to value 0"]
61impl crate::Resettable for WIFI_PLL_CONFIG_9_SPEC {
62 const RESET_VALUE: Self::Ux = 0;
63}