diff --git a/LPC43xx_43Sxx.svd b/LPC43xx_43Sxx.svd index f83a857276d6af9721cdaf87a77d281f7521768f..c99810caf53609b225b6e8ae2473ec922b43951f 100644 --- a/LPC43xx_43Sxx.svd +++ b/LPC43xx_43Sxx.svd @@ -3678,7 +3678,7 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLED__DEFAULT_</name> + <name>DISABLED_DEFAULT_</name> <description>Disabled (default). Disabling the DMA Controller reduces power consumption.</description> <value>0</value> </enumeratedValue> @@ -9466,7 +9466,7 @@ <value>0</value> </enumeratedValue> <enumeratedValue> - <name>DEVICE_ATTACHED__A_</name> + <name>DEVICE_ATTACHED_A_</name> <description>Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register.</description> <value>1</value> </enumeratedValue> @@ -12965,7 +12965,7 @@ <value>0</value> </enumeratedValue> <enumeratedValue> - <name>DEVICE_ATTACHED__A_</name> + <name>DEVICE_ATTACHED_A_</name> <description>Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register.</description> <value>1</value> </enumeratedValue> @@ -51139,12 +51139,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -51250,12 +51250,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -51361,12 +51361,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -51472,12 +51472,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -51583,12 +51583,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -51694,12 +51694,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -51805,12 +51805,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -51916,12 +51916,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -52027,12 +52027,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -52138,12 +52138,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -52254,12 +52254,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -52370,12 +52370,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -52481,12 +52481,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -52592,12 +52592,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -52638,7 +52638,7 @@ <value>0x1</value> </enumeratedValue> <enumeratedValue> - <name>TBD__I2S0_TX_MWS</name> + <name>TBD_I2S0_TX_MWS</name> <description>TBD - I2S0_TX_MWS</description> <value>0x2</value> </enumeratedValue> @@ -52708,12 +52708,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -52824,12 +52824,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -52940,12 +52940,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -53051,12 +53051,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -53162,12 +53162,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -53273,12 +53273,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -53389,12 +53389,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -53505,12 +53505,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -53616,12 +53616,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -53732,12 +53732,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -53848,12 +53848,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -53994,12 +53994,12 @@ <enumeratedValues> <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -54112,12 +54112,12 @@ <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -54234,12 +54234,12 @@ <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -54351,12 +54351,12 @@ <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -54468,12 +54468,12 @@ <name>ENUM</name> <enumeratedValue> - <name>DISABLE__SYNCHRONIZ</name> + <name>DISABLE_SYNCHRONIZ</name> <description>Disable synchronization.</description> <value>0</value> </enumeratedValue> <enumeratedValue> - <name>ENABLE__SYNCHRONIZA</name> + <name>ENABLE_SYNCHRONIZA</name> <description>Enable synchronization.</description> <value>1</value> </enumeratedValue> @@ -55253,7 +55253,7 @@ <resetMask>0xFFFFFFFF</resetMask> <fields> <field> - <name>TRIGGER__MASK</name> + <name>TRIGGER_MASK</name> <description>00 = triggers off 01 = software trigger only 10 = external trigger only 11 = both triggers allowed</description> <bitRange>[1:0]</bitRange> </field> diff --git a/src/lib.rs b/src/lib.rs index 723eb07d1b4313852db6c6f43ad235ffe7a103a9..27c9cec3c89db982486528543e50f90bbbf5904d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -# ! [ cfg_attr ( feature = "rt" , feature ( global_asm ) ) ] # ! [ cfg_attr ( feature = "rt" , feature ( macro_reexport ) ) ] # ! [ cfg_attr ( feature = "rt" , feature ( used ) ) ] # ! [ doc = "Peripheral access API for LPC43XX microcontrollers (generated using svd2rust v0.11.4)\n\nYou can find an overview of the API [here].\n\n[here]: https://docs.rs/svd2rust/0.11.4/svd2rust/#peripheral-api" ] # ! [ deny ( missing_docs ) ] # ! [ allow ( non_camel_case_types ) ] # ! [ feature ( const_fn ) ] # ! [ no_std ] +# ! [ cfg_attr ( feature = "rt" , feature ( global_asm ) ) ] # ! [ cfg_attr ( feature = "rt" , feature ( macro_reexport ) ) ] # ! [ cfg_attr ( feature = "rt" , feature ( used ) ) ] # ! [ doc = "Peripheral access API for LPC43XX microcontrollers (generated using svd2rust v0.11.4)\n\nYou can find an overview of the API [here].\n\n[here]: https://docs.rs/svd2rust/0.11.4/svd2rust/#peripheral-api" ] # ! [ deny ( missing_docs ) ] # ! [ deny ( warnings ) ] # ! [ allow ( non_camel_case_types ) ] # ! [ feature ( const_fn ) ] # ! [ no_std ] extern crate bare_metal; extern crate cortex_m; #[macro_reexport(default_handler, exception)] @@ -25685,7 +25685,7 @@ pub mod gpdma { #[derive(Clone, Copy, Debug, PartialEq)] pub enum ER { #[doc = "Disabled (default). Disabling the DMA Controller reduces power consumption."] - DISABLED__DEFAULT_, + DISABLED_DEFAULT_, #[doc = "Enabled"] ENABLED, } impl ER { @@ -25703,7 +25703,7 @@ pub mod gpdma { #[inline(always)] pub fn bit(&self) -> bool { match *self { - ER::DISABLED__DEFAULT_ => false, + ER::DISABLED_DEFAULT_ => false, ER::ENABLED => true, } } @@ -25712,14 +25712,14 @@ pub mod gpdma { #[inline(always)] pub fn _from(value: bool) -> ER { match value { - false => ER::DISABLED__DEFAULT_, + false => ER::DISABLED_DEFAULT_, true => ER::ENABLED, } } - #[doc = "Checks if the value of the field is `DISABLED__DEFAULT_`"] + #[doc = "Checks if the value of the field is `DISABLED_DEFAULT_`"] #[inline(always)] - pub fn is_disabled__default_(&self) -> bool { - *self == ER::DISABLED__DEFAULT_ + pub fn is_disabled_default_(&self) -> bool { + *self == ER::DISABLED_DEFAULT_ } #[doc = "Checks if the value of the field is `ENABLED`"] #[inline(always)] @@ -25820,7 +25820,7 @@ pub mod gpdma { #[doc = "Values that can be written to the field `E`"] pub enum EW { #[doc = "Disabled (default). Disabling the DMA Controller reduces power consumption."] - DISABLED__DEFAULT_, + DISABLED_DEFAULT_, #[doc = "Enabled"] ENABLED, } impl EW { @@ -25829,7 +25829,7 @@ pub mod gpdma { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - EW::DISABLED__DEFAULT_ => false, + EW::DISABLED_DEFAULT_ => false, EW::ENABLED => true, } } @@ -25848,8 +25848,8 @@ pub mod gpdma { } #[doc = "Disabled (default). Disabling the DMA Controller reduces power consumption."] #[inline(always)] - pub fn disabled__default_(self) -> &'a mut W { - self.variant(EW::DISABLED__DEFAULT_) + pub fn disabled_default_(self) -> &'a mut W { + self.variant(EW::DISABLED_DEFAULT_) } #[doc = "Enabled"] #[inline(always)] @@ -57536,7 +57536,7 @@ pub mod usb0 { } #[doc = "Possible values of the field `CCS`"] #[derive(Clone, Copy, Debug, PartialEq)] - pub enum CCSR {# [ doc = "Device not attached A zero indicates that the device did not attach successfully or was forcibly disconnected by the software writing a zero to the Run bit in the USBCMD register. It does not state the device being disconnected or suspended." ] DEVICE_NOT_ATTACHED_ , # [ doc = "Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register." ] DEVICE_ATTACHED__A_} + pub enum CCSR {# [ doc = "Device not attached A zero indicates that the device did not attach successfully or was forcibly disconnected by the software writing a zero to the Run bit in the USBCMD register. It does not state the device being disconnected or suspended." ] DEVICE_NOT_ATTACHED_ , # [ doc = "Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register." ] DEVICE_ATTACHED_A_} impl CCSR { #[doc = r" Returns `true` if the bit is clear (0)"] #[inline(always)] @@ -57553,7 +57553,7 @@ pub mod usb0 { pub fn bit(&self) -> bool { match *self { CCSR::DEVICE_NOT_ATTACHED_ => false, - CCSR::DEVICE_ATTACHED__A_ => true, + CCSR::DEVICE_ATTACHED_A_ => true, } } #[allow(missing_docs)] @@ -57562,7 +57562,7 @@ pub mod usb0 { pub fn _from(value: bool) -> CCSR { match value { false => CCSR::DEVICE_NOT_ATTACHED_, - true => CCSR::DEVICE_ATTACHED__A_, + true => CCSR::DEVICE_ATTACHED_A_, } } #[doc = "Checks if the value of the field is `DEVICE_NOT_ATTACHED_`"] @@ -57570,10 +57570,10 @@ pub mod usb0 { pub fn is_device_not_attached_(&self) -> bool { *self == CCSR::DEVICE_NOT_ATTACHED_ } - #[doc = "Checks if the value of the field is `DEVICE_ATTACHED__A_`"] + #[doc = "Checks if the value of the field is `DEVICE_ATTACHED_A_`"] #[inline(always)] - pub fn is_device_attached__a_(&self) -> bool { - *self == CCSR::DEVICE_ATTACHED__A_ + pub fn is_device_attached_a_(&self) -> bool { + *self == CCSR::DEVICE_ATTACHED_A_ } } #[doc = r" Value of the field"] @@ -58059,7 +58059,7 @@ pub mod usb0 { } } #[doc = "Values that can be written to the field `CCS`"] - pub enum CCSW {# [ doc = "Device not attached A zero indicates that the device did not attach successfully or was forcibly disconnected by the software writing a zero to the Run bit in the USBCMD register. It does not state the device being disconnected or suspended." ] DEVICE_NOT_ATTACHED_ , # [ doc = "Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register." ] DEVICE_ATTACHED__A_} + pub enum CCSW {# [ doc = "Device not attached A zero indicates that the device did not attach successfully or was forcibly disconnected by the software writing a zero to the Run bit in the USBCMD register. It does not state the device being disconnected or suspended." ] DEVICE_NOT_ATTACHED_ , # [ doc = "Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register." ] DEVICE_ATTACHED_A_} impl CCSW { #[allow(missing_docs)] #[doc(hidden)] @@ -58067,7 +58067,7 @@ pub mod usb0 { pub fn _bits(&self) -> bool { match *self { CCSW::DEVICE_NOT_ATTACHED_ => false, - CCSW::DEVICE_ATTACHED__A_ => true, + CCSW::DEVICE_ATTACHED_A_ => true, } } } @@ -58088,8 +58088,8 @@ pub mod usb0 { self.variant(CCSW::DEVICE_NOT_ATTACHED_) } # [ doc = "Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register." ] # [ inline ( always ) ] - pub fn device_attached__a_(self) -> &'a mut W { - self.variant(CCSW::DEVICE_ATTACHED__A_) + pub fn device_attached_a_(self) -> &'a mut W { + self.variant(CCSW::DEVICE_ATTACHED_A_) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -77195,7 +77195,7 @@ pub mod usb1 { } #[doc = "Possible values of the field `CCS`"] #[derive(Clone, Copy, Debug, PartialEq)] - pub enum CCSR {# [ doc = "Device not attached A zero indicates that the device did not attach successfully or was forcibly disconnected by the software writing a zero to the Run bit in the USBCMD register. It does not state the device being disconnected or suspended." ] DEVICE_NOT_ATTACHED_ , # [ doc = "Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register." ] DEVICE_ATTACHED__A_} + pub enum CCSR {# [ doc = "Device not attached A zero indicates that the device did not attach successfully or was forcibly disconnected by the software writing a zero to the Run bit in the USBCMD register. It does not state the device being disconnected or suspended." ] DEVICE_NOT_ATTACHED_ , # [ doc = "Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register." ] DEVICE_ATTACHED_A_} impl CCSR { #[doc = r" Returns `true` if the bit is clear (0)"] #[inline(always)] @@ -77212,7 +77212,7 @@ pub mod usb1 { pub fn bit(&self) -> bool { match *self { CCSR::DEVICE_NOT_ATTACHED_ => false, - CCSR::DEVICE_ATTACHED__A_ => true, + CCSR::DEVICE_ATTACHED_A_ => true, } } #[allow(missing_docs)] @@ -77221,7 +77221,7 @@ pub mod usb1 { pub fn _from(value: bool) -> CCSR { match value { false => CCSR::DEVICE_NOT_ATTACHED_, - true => CCSR::DEVICE_ATTACHED__A_, + true => CCSR::DEVICE_ATTACHED_A_, } } #[doc = "Checks if the value of the field is `DEVICE_NOT_ATTACHED_`"] @@ -77229,10 +77229,10 @@ pub mod usb1 { pub fn is_device_not_attached_(&self) -> bool { *self == CCSR::DEVICE_NOT_ATTACHED_ } - #[doc = "Checks if the value of the field is `DEVICE_ATTACHED__A_`"] + #[doc = "Checks if the value of the field is `DEVICE_ATTACHED_A_`"] #[inline(always)] - pub fn is_device_attached__a_(&self) -> bool { - *self == CCSR::DEVICE_ATTACHED__A_ + pub fn is_device_attached_a_(&self) -> bool { + *self == CCSR::DEVICE_ATTACHED_A_ } } #[doc = r" Value of the field"] @@ -77809,7 +77809,7 @@ pub mod usb1 { } } #[doc = "Values that can be written to the field `CCS`"] - pub enum CCSW {# [ doc = "Device not attached A zero indicates that the device did not attach successfully or was forcibly disconnected by the software writing a zero to the Run bit in the USBCMD register. It does not state the device being disconnected or suspended." ] DEVICE_NOT_ATTACHED_ , # [ doc = "Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register." ] DEVICE_ATTACHED__A_} + pub enum CCSW {# [ doc = "Device not attached A zero indicates that the device did not attach successfully or was forcibly disconnected by the software writing a zero to the Run bit in the USBCMD register. It does not state the device being disconnected or suspended." ] DEVICE_NOT_ATTACHED_ , # [ doc = "Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register." ] DEVICE_ATTACHED_A_} impl CCSW { #[allow(missing_docs)] #[doc(hidden)] @@ -77817,7 +77817,7 @@ pub mod usb1 { pub fn _bits(&self) -> bool { match *self { CCSW::DEVICE_NOT_ATTACHED_ => false, - CCSW::DEVICE_ATTACHED__A_ => true, + CCSW::DEVICE_ATTACHED_A_ => true, } } } @@ -77838,8 +77838,8 @@ pub mod usb1 { self.variant(CCSW::DEVICE_NOT_ATTACHED_) } # [ doc = "Device attached. A one indicates that the device successfully attached and is operating in either high-speed mode or full-speed mode as indicated by the High Speed Port bit in this register." ] # [ inline ( always ) ] - pub fn device_attached__a_(self) -> &'a mut W { - self.variant(CCSW::DEVICE_ATTACHED__A_) + pub fn device_attached_a_(self) -> &'a mut W { + self.variant(CCSW::DEVICE_ATTACHED_A_) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -270887,8 +270887,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -270905,8 +270905,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -270914,19 +270914,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -271134,8 +271134,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -271143,8 +271143,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -271162,13 +271162,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -271531,8 +271531,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -271549,8 +271549,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -271558,19 +271558,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -271778,8 +271778,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -271787,8 +271787,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -271806,13 +271806,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -272175,8 +272175,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -272193,8 +272193,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -272202,19 +272202,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -272422,8 +272422,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -272431,8 +272431,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -272450,13 +272450,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -272819,8 +272819,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -272837,8 +272837,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -272846,19 +272846,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -273066,8 +273066,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -273075,8 +273075,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -273094,13 +273094,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -273463,8 +273463,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -273481,8 +273481,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -273490,19 +273490,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -273710,8 +273710,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -273719,8 +273719,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -273738,13 +273738,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -274107,8 +274107,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -274125,8 +274125,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -274134,19 +274134,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -274354,8 +274354,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -274363,8 +274363,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -274382,13 +274382,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -274751,8 +274751,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -274769,8 +274769,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -274778,19 +274778,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -274998,8 +274998,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -275007,8 +275007,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -275026,13 +275026,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -275395,8 +275395,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -275413,8 +275413,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -275422,19 +275422,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -275642,8 +275642,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -275651,8 +275651,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -275670,13 +275670,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -276039,8 +276039,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -276057,8 +276057,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -276066,19 +276066,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -276286,8 +276286,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -276295,8 +276295,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -276314,13 +276314,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -276683,8 +276683,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -276701,8 +276701,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -276710,19 +276710,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -276938,8 +276938,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -276947,8 +276947,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -276966,13 +276966,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -277342,8 +277342,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -277360,8 +277360,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -277369,19 +277369,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -277597,8 +277597,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -277606,8 +277606,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -277625,13 +277625,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -278001,8 +278001,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -278019,8 +278019,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -278028,19 +278028,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -278248,8 +278248,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -278257,8 +278257,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -278276,13 +278276,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -278645,8 +278645,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -278663,8 +278663,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -278672,19 +278672,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -278892,8 +278892,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -278901,8 +278901,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -278920,13 +278920,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -279289,8 +279289,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -279307,8 +279307,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -279316,19 +279316,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -279381,7 +279381,7 @@ pub mod gima { pub enum SELECTR { #[doc = "CTIN_6"] CTIN_6, #[doc = "USART3 TX active"] USART3_TX_ACTIVE, - #[doc = "TBD - I2S0_TX_MWS"] TBD__I2S0_TX_MWS, + #[doc = "TBD - I2S0_TX_MWS"] TBD_I2S0_TX_MWS, #[doc = "T3_CAP1"] T3_CAP1, #[doc = r" Reserved"] _Reserved(u8), } @@ -279392,7 +279392,7 @@ pub mod gima { match *self { SELECTR::CTIN_6 => 0, SELECTR::USART3_TX_ACTIVE => 1, - SELECTR::TBD__I2S0_TX_MWS => 2, + SELECTR::TBD_I2S0_TX_MWS => 2, SELECTR::T3_CAP1 => 3, SELECTR::_Reserved(bits) => bits, } @@ -279404,7 +279404,7 @@ pub mod gima { match value { 0 => SELECTR::CTIN_6, 1 => SELECTR::USART3_TX_ACTIVE, - 2 => SELECTR::TBD__I2S0_TX_MWS, + 2 => SELECTR::TBD_I2S0_TX_MWS, 3 => SELECTR::T3_CAP1, i => SELECTR::_Reserved(i), } @@ -279419,10 +279419,10 @@ pub mod gima { pub fn is_usart3_tx_active(&self) -> bool { *self == SELECTR::USART3_TX_ACTIVE } - #[doc = "Checks if the value of the field is `TBD__I2S0_TX_MWS`"] + #[doc = "Checks if the value of the field is `TBD_I2S0_TX_MWS`"] #[inline(always)] - pub fn is_tbd__i2s0_tx_mws(&self) -> bool { - *self == SELECTR::TBD__I2S0_TX_MWS + pub fn is_tbd_i2s0_tx_mws(&self) -> bool { + *self == SELECTR::TBD_I2S0_TX_MWS } #[doc = "Checks if the value of the field is `T3_CAP1`"] #[inline(always)] @@ -279544,8 +279544,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -279553,8 +279553,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -279572,13 +279572,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -279658,7 +279658,7 @@ pub mod gima { pub enum SELECTW { #[doc = "CTIN_6"] CTIN_6, #[doc = "USART3 TX active"] USART3_TX_ACTIVE, - #[doc = "TBD - I2S0_TX_MWS"] TBD__I2S0_TX_MWS, + #[doc = "TBD - I2S0_TX_MWS"] TBD_I2S0_TX_MWS, #[doc = "T3_CAP1"] T3_CAP1, } impl SELECTW { @@ -279669,7 +279669,7 @@ pub mod gima { match *self { SELECTW::CTIN_6 => 0, SELECTW::USART3_TX_ACTIVE => 1, - SELECTW::TBD__I2S0_TX_MWS => 2, + SELECTW::TBD_I2S0_TX_MWS => 2, SELECTW::T3_CAP1 => 3, } } @@ -279696,8 +279696,8 @@ pub mod gima { } #[doc = "TBD - I2S0_TX_MWS"] #[inline(always)] - pub fn tbd__i2s0_tx_mws(self) -> &'a mut W { - self.variant(SELECTW::TBD__I2S0_TX_MWS) + pub fn tbd_i2s0_tx_mws(self) -> &'a mut W { + self.variant(SELECTW::TBD_I2S0_TX_MWS) } #[doc = "T3_CAP1"] #[inline(always)] @@ -279948,8 +279948,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -279966,8 +279966,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -279975,19 +279975,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -280203,8 +280203,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -280212,8 +280212,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -280231,13 +280231,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -280607,8 +280607,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -280625,8 +280625,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -280634,19 +280634,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -280862,8 +280862,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -280871,8 +280871,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -280890,13 +280890,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -281266,8 +281266,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -281284,8 +281284,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -281293,19 +281293,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -281513,8 +281513,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -281522,8 +281522,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -281541,13 +281541,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -281910,8 +281910,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -281928,8 +281928,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -281937,19 +281937,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -282157,8 +282157,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -282166,8 +282166,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -282185,13 +282185,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -282554,8 +282554,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -282572,8 +282572,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -282581,19 +282581,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -282801,8 +282801,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -282810,8 +282810,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -282829,13 +282829,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -283198,8 +283198,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -283216,8 +283216,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -283225,19 +283225,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -283437,8 +283437,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -283446,8 +283446,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -283465,13 +283465,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -283827,8 +283827,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -283845,8 +283845,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -283854,19 +283854,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -284082,8 +284082,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -284091,8 +284091,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -284110,13 +284110,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -284486,8 +284486,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -284504,8 +284504,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -284513,19 +284513,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -284733,8 +284733,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -284742,8 +284742,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -284761,13 +284761,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -285130,8 +285130,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -285148,8 +285148,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -285157,19 +285157,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -285385,8 +285385,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -285394,8 +285394,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -285413,13 +285413,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -285789,8 +285789,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -285807,8 +285807,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -285816,19 +285816,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -286044,8 +286044,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -286053,8 +286053,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -286072,13 +286072,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -286448,8 +286448,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -286466,8 +286466,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -286475,19 +286475,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -286743,8 +286743,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -286752,8 +286752,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -286771,13 +286771,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -287182,8 +287182,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -287200,8 +287200,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -287209,19 +287209,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -287429,8 +287429,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -287438,8 +287438,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -287457,13 +287457,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -287826,8 +287826,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -287844,8 +287844,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -287853,19 +287853,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -288073,8 +288073,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -288082,8 +288082,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -288101,13 +288101,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -288470,8 +288470,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -288488,8 +288488,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -288497,19 +288497,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -288709,8 +288709,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -288718,8 +288718,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -288737,13 +288737,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -289099,8 +289099,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -289117,8 +289117,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -289126,19 +289126,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -289338,8 +289338,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -289347,8 +289347,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -289366,13 +289366,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -289728,8 +289728,8 @@ pub mod gima { #[doc = "Possible values of the field `SYNCH`"] #[derive(Clone, Copy, Debug, PartialEq)] pub enum SYNCHR { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHR { #[doc = r" Returns `true` if the bit is clear (0)"] @@ -289746,8 +289746,8 @@ pub mod gima { #[inline(always)] pub fn bit(&self) -> bool { match *self { - SYNCHR::DISABLE__SYNCHRONIZ => false, - SYNCHR::ENABLE__SYNCHRONIZA => true, + SYNCHR::DISABLE_SYNCHRONIZ => false, + SYNCHR::ENABLE_SYNCHRONIZA => true, } } #[allow(missing_docs)] @@ -289755,19 +289755,19 @@ pub mod gima { #[inline(always)] pub fn _from(value: bool) -> SYNCHR { match value { - false => SYNCHR::DISABLE__SYNCHRONIZ, - true => SYNCHR::ENABLE__SYNCHRONIZA, + false => SYNCHR::DISABLE_SYNCHRONIZ, + true => SYNCHR::ENABLE_SYNCHRONIZA, } } - #[doc = "Checks if the value of the field is `DISABLE__SYNCHRONIZ`"] + #[doc = "Checks if the value of the field is `DISABLE_SYNCHRONIZ`"] #[inline(always)] - pub fn is_disable__synchroniz(&self) -> bool { - *self == SYNCHR::DISABLE__SYNCHRONIZ + pub fn is_disable_synchroniz(&self) -> bool { + *self == SYNCHR::DISABLE_SYNCHRONIZ } - #[doc = "Checks if the value of the field is `ENABLE__SYNCHRONIZA`"] + #[doc = "Checks if the value of the field is `ENABLE_SYNCHRONIZA`"] #[inline(always)] - pub fn is_enable__synchroniza(&self) -> bool { - *self == SYNCHR::ENABLE__SYNCHRONIZA + pub fn is_enable_synchroniza(&self) -> bool { + *self == SYNCHR::ENABLE_SYNCHRONIZA } } #[doc = "Possible values of the field `PULSE`"] @@ -289967,8 +289967,8 @@ pub mod gima { } #[doc = "Values that can be written to the field `SYNCH`"] pub enum SYNCHW { - #[doc = "Disable synchronization."] DISABLE__SYNCHRONIZ, - #[doc = "Enable synchronization."] ENABLE__SYNCHRONIZA, + #[doc = "Disable synchronization."] DISABLE_SYNCHRONIZ, + #[doc = "Enable synchronization."] ENABLE_SYNCHRONIZA, } impl SYNCHW { #[allow(missing_docs)] @@ -289976,8 +289976,8 @@ pub mod gima { #[inline(always)] pub fn _bits(&self) -> bool { match *self { - SYNCHW::DISABLE__SYNCHRONIZ => false, - SYNCHW::ENABLE__SYNCHRONIZA => true, + SYNCHW::DISABLE_SYNCHRONIZ => false, + SYNCHW::ENABLE_SYNCHRONIZA => true, } } } @@ -289995,13 +289995,13 @@ pub mod gima { } #[doc = "Disable synchronization."] #[inline(always)] - pub fn disable__synchroniz(self) -> &'a mut W { - self.variant(SYNCHW::DISABLE__SYNCHRONIZ) + pub fn disable_synchroniz(self) -> &'a mut W { + self.variant(SYNCHW::DISABLE_SYNCHRONIZ) } #[doc = "Enable synchronization."] #[inline(always)] - pub fn enable__synchroniza(self) -> &'a mut W { - self.variant(SYNCHW::ENABLE__SYNCHRONIZA) + pub fn enable_synchroniza(self) -> &'a mut W { + self.variant(SYNCHW::ENABLE_SYNCHRONIZA) } #[doc = r" Sets the field bit"] pub fn set_bit(self) -> &'a mut W { @@ -293307,10 +293307,10 @@ pub mod adchs { } } #[doc = r" Value of the field"] - pub struct TRIGGER__MASKR { + pub struct TRIGGER_MASKR { bits: u8, } - impl TRIGGER__MASKR { + impl TRIGGER_MASKR { #[doc = r" Value of the field as raw bits"] #[inline(always)] pub fn bits(&self) -> u8 { @@ -293382,10 +293382,10 @@ pub mod adchs { } } #[doc = r" Proxy"] - pub struct _TRIGGER__MASKW<'a> { + pub struct _TRIGGER_MASKW<'a> { w: &'a mut W, } - impl<'a> _TRIGGER__MASKW<'a> { + impl<'a> _TRIGGER_MASKW<'a> { #[doc = r" Writes raw bits to the field"] #[inline(always)] pub unsafe fn bits(self, value: u8) -> &'a mut W { @@ -293479,13 +293479,13 @@ pub mod adchs { self.bits } # [ doc = "Bits 0:1 - 00 = triggers off 01 = software trigger only 10 = external trigger only 11 = both triggers allowed" ] # [ inline ( always ) ] - pub fn trigger__mask(&self) -> TRIGGER__MASKR { + pub fn trigger_mask(&self) -> TRIGGER_MASKR { let bits = { const MASK: u8 = 3; const OFFSET: u8 = 0; ((self.bits >> OFFSET) & MASK as u32) as u8 }; - TRIGGER__MASKR { bits } + TRIGGER_MASKR { bits } } # [ doc = "Bits 2:3 - 00 = rising external trigger 01 = falling external trigger 10 = low external trigger 11 = high external trigger" ] # [ inline ( always ) ] pub fn trigger_mode(&self) -> TRIGGER_MODER { @@ -293538,8 +293538,8 @@ pub mod adchs { self } # [ doc = "Bits 0:1 - 00 = triggers off 01 = software trigger only 10 = external trigger only 11 = both triggers allowed" ] # [ inline ( always ) ] - pub fn trigger__mask(&mut self) -> _TRIGGER__MASKW { - _TRIGGER__MASKW { w: self } + pub fn trigger_mask(&mut self) -> _TRIGGER_MASKW { + _TRIGGER_MASKW { w: self } } # [ doc = "Bits 2:3 - 00 = rising external trigger 01 = falling external trigger 10 = low external trigger 11 = high external trigger" ] # [ inline ( always ) ] pub fn trigger_mode(&mut self) -> _TRIGGER_MODEW {