#[doc = r"Value read from the register"]
pub struct R {
bits: u32,
}
#[doc = r"Value to write to the register"]
pub struct W {
bits: u32,
}
impl super::IOASCR {
#[doc = r"Modifies the contents of the register"]
#[inline(always)]
pub fn modify<F>(&self, f: F)
where
for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W,
{
let bits = self.register.get();
self.register.set(f(&R { bits }, &mut W { bits }).bits);
}
#[doc = r"Reads the contents of the register"]
#[inline(always)]
pub fn read(&self) -> R {
R {
bits: self.register.get(),
}
}
#[doc = r"Writes to the register"]
#[inline(always)]
pub fn write<F>(&self, f: F)
where
F: FnOnce(&mut W) -> &mut W,
{
self.register.set(
f(&mut W {
bits: Self::reset_value(),
})
.bits,
);
}
#[doc = r"Reset value of the register"]
#[inline(always)]
pub const fn reset_value() -> u32 {
0
}
#[doc = r"Writes the reset value to the register"]
#[inline(always)]
pub fn reset(&self) {
self.register.set(Self::reset_value())
}
}
#[doc = r"Value of the field"]
pub struct G1_IO1R {
bits: bool,
}
impl G1_IO1R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G1_IO1W<'a> {
w: &'a mut W,
}
impl<'a> _G1_IO1W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 0);
self.w.bits |= ((value as u32) & 0x01) << 0;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G1_IO2R {
bits: bool,
}
impl G1_IO2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G1_IO2W<'a> {
w: &'a mut W,
}
impl<'a> _G1_IO2W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 1);
self.w.bits |= ((value as u32) & 0x01) << 1;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G1_IO3R {
bits: bool,
}
impl G1_IO3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G1_IO3W<'a> {
w: &'a mut W,
}
impl<'a> _G1_IO3W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 2);
self.w.bits |= ((value as u32) & 0x01) << 2;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G1_IO4R {
bits: bool,
}
impl G1_IO4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G1_IO4W<'a> {
w: &'a mut W,
}
impl<'a> _G1_IO4W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 3);
self.w.bits |= ((value as u32) & 0x01) << 3;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G2_IO1R {
bits: bool,
}
impl G2_IO1R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G2_IO1W<'a> {
w: &'a mut W,
}
impl<'a> _G2_IO1W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 4);
self.w.bits |= ((value as u32) & 0x01) << 4;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G2_IO2R {
bits: bool,
}
impl G2_IO2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G2_IO2W<'a> {
w: &'a mut W,
}
impl<'a> _G2_IO2W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 5);
self.w.bits |= ((value as u32) & 0x01) << 5;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G2_IO3R {
bits: bool,
}
impl G2_IO3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G2_IO3W<'a> {
w: &'a mut W,
}
impl<'a> _G2_IO3W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 6);
self.w.bits |= ((value as u32) & 0x01) << 6;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G2_IO4R {
bits: bool,
}
impl G2_IO4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G2_IO4W<'a> {
w: &'a mut W,
}
impl<'a> _G2_IO4W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 7);
self.w.bits |= ((value as u32) & 0x01) << 7;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G3_IO1R {
bits: bool,
}
impl G3_IO1R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G3_IO1W<'a> {
w: &'a mut W,
}
impl<'a> _G3_IO1W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 8);
self.w.bits |= ((value as u32) & 0x01) << 8;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G3_IO2R {
bits: bool,
}
impl G3_IO2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G3_IO2W<'a> {
w: &'a mut W,
}
impl<'a> _G3_IO2W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 9);
self.w.bits |= ((value as u32) & 0x01) << 9;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G3_IO3R {
bits: bool,
}
impl G3_IO3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G3_IO3W<'a> {
w: &'a mut W,
}
impl<'a> _G3_IO3W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 10);
self.w.bits |= ((value as u32) & 0x01) << 10;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G3_IO4R {
bits: bool,
}
impl G3_IO4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G3_IO4W<'a> {
w: &'a mut W,
}
impl<'a> _G3_IO4W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 11);
self.w.bits |= ((value as u32) & 0x01) << 11;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G4_IO1R {
bits: bool,
}
impl G4_IO1R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G4_IO1W<'a> {
w: &'a mut W,
}
impl<'a> _G4_IO1W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 12);
self.w.bits |= ((value as u32) & 0x01) << 12;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G4_IO2R {
bits: bool,
}
impl G4_IO2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G4_IO2W<'a> {
w: &'a mut W,
}
impl<'a> _G4_IO2W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 13);
self.w.bits |= ((value as u32) & 0x01) << 13;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G4_IO3R {
bits: bool,
}
impl G4_IO3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G4_IO3W<'a> {
w: &'a mut W,
}
impl<'a> _G4_IO3W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 14);
self.w.bits |= ((value as u32) & 0x01) << 14;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G4_IO4R {
bits: bool,
}
impl G4_IO4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G4_IO4W<'a> {
w: &'a mut W,
}
impl<'a> _G4_IO4W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 15);
self.w.bits |= ((value as u32) & 0x01) << 15;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G5_IO1R {
bits: bool,
}
impl G5_IO1R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G5_IO1W<'a> {
w: &'a mut W,
}
impl<'a> _G5_IO1W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 16);
self.w.bits |= ((value as u32) & 0x01) << 16;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G5_IO2R {
bits: bool,
}
impl G5_IO2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G5_IO2W<'a> {
w: &'a mut W,
}
impl<'a> _G5_IO2W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 17);
self.w.bits |= ((value as u32) & 0x01) << 17;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G5_IO3R {
bits: bool,
}
impl G5_IO3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G5_IO3W<'a> {
w: &'a mut W,
}
impl<'a> _G5_IO3W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 18);
self.w.bits |= ((value as u32) & 0x01) << 18;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G5_IO4R {
bits: bool,
}
impl G5_IO4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G5_IO4W<'a> {
w: &'a mut W,
}
impl<'a> _G5_IO4W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 19);
self.w.bits |= ((value as u32) & 0x01) << 19;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G6_IO1R {
bits: bool,
}
impl G6_IO1R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G6_IO1W<'a> {
w: &'a mut W,
}
impl<'a> _G6_IO1W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 20);
self.w.bits |= ((value as u32) & 0x01) << 20;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G6_IO2R {
bits: bool,
}
impl G6_IO2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G6_IO2W<'a> {
w: &'a mut W,
}
impl<'a> _G6_IO2W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 21);
self.w.bits |= ((value as u32) & 0x01) << 21;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G6_IO3R {
bits: bool,
}
impl G6_IO3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G6_IO3W<'a> {
w: &'a mut W,
}
impl<'a> _G6_IO3W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 22);
self.w.bits |= ((value as u32) & 0x01) << 22;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G6_IO4R {
bits: bool,
}
impl G6_IO4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G6_IO4W<'a> {
w: &'a mut W,
}
impl<'a> _G6_IO4W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 23);
self.w.bits |= ((value as u32) & 0x01) << 23;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G7_IO1R {
bits: bool,
}
impl G7_IO1R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G7_IO1W<'a> {
w: &'a mut W,
}
impl<'a> _G7_IO1W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 24);
self.w.bits |= ((value as u32) & 0x01) << 24;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G7_IO2R {
bits: bool,
}
impl G7_IO2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G7_IO2W<'a> {
w: &'a mut W,
}
impl<'a> _G7_IO2W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 25);
self.w.bits |= ((value as u32) & 0x01) << 25;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G7_IO3R {
bits: bool,
}
impl G7_IO3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G7_IO3W<'a> {
w: &'a mut W,
}
impl<'a> _G7_IO3W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 26);
self.w.bits |= ((value as u32) & 0x01) << 26;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G7_IO4R {
bits: bool,
}
impl G7_IO4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G7_IO4W<'a> {
w: &'a mut W,
}
impl<'a> _G7_IO4W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 27);
self.w.bits |= ((value as u32) & 0x01) << 27;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G8_IO1R {
bits: bool,
}
impl G8_IO1R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G8_IO1W<'a> {
w: &'a mut W,
}
impl<'a> _G8_IO1W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 28);
self.w.bits |= ((value as u32) & 0x01) << 28;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G8_IO2R {
bits: bool,
}
impl G8_IO2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G8_IO2W<'a> {
w: &'a mut W,
}
impl<'a> _G8_IO2W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 29);
self.w.bits |= ((value as u32) & 0x01) << 29;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G8_IO3R {
bits: bool,
}
impl G8_IO3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G8_IO3W<'a> {
w: &'a mut W,
}
impl<'a> _G8_IO3W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 30);
self.w.bits |= ((value as u32) & 0x01) << 30;
self.w
}
}
#[doc = r"Value of the field"]
pub struct G8_IO4R {
bits: bool,
}
impl G8_IO4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r"Proxy"]
pub struct _G8_IO4W<'a> {
w: &'a mut W,
}
impl<'a> _G8_IO4W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits &= !(0x01 << 31);
self.w.bits |= ((value as u32) & 0x01) << 31;
self.w
}
}
impl R {
#[doc = r"Value of the register as raw bits"]
#[inline(always)]
pub fn bits(&self) -> u32 {
self.bits
}
#[doc = "Bit 0 - G1_IO1 analog switch enable"]
#[inline(always)]
pub fn g1_io1(&self) -> G1_IO1R {
let bits = ((self.bits >> 0) & 0x01) != 0;
G1_IO1R { bits }
}
#[doc = "Bit 1 - G1_IO2 analog switch enable"]
#[inline(always)]
pub fn g1_io2(&self) -> G1_IO2R {
let bits = ((self.bits >> 1) & 0x01) != 0;
G1_IO2R { bits }
}
#[doc = "Bit 2 - G1_IO3 analog switch enable"]
#[inline(always)]
pub fn g1_io3(&self) -> G1_IO3R {
let bits = ((self.bits >> 2) & 0x01) != 0;
G1_IO3R { bits }
}
#[doc = "Bit 3 - G1_IO4 analog switch enable"]
#[inline(always)]
pub fn g1_io4(&self) -> G1_IO4R {
let bits = ((self.bits >> 3) & 0x01) != 0;
G1_IO4R { bits }
}
#[doc = "Bit 4 - G2_IO1 analog switch enable"]
#[inline(always)]
pub fn g2_io1(&self) -> G2_IO1R {
let bits = ((self.bits >> 4) & 0x01) != 0;
G2_IO1R { bits }
}
#[doc = "Bit 5 - G2_IO2 analog switch enable"]
#[inline(always)]
pub fn g2_io2(&self) -> G2_IO2R {
let bits = ((self.bits >> 5) & 0x01) != 0;
G2_IO2R { bits }
}
#[doc = "Bit 6 - G2_IO3 analog switch enable"]
#[inline(always)]
pub fn g2_io3(&self) -> G2_IO3R {
let bits = ((self.bits >> 6) & 0x01) != 0;
G2_IO3R { bits }
}
#[doc = "Bit 7 - G2_IO4 analog switch enable"]
#[inline(always)]
pub fn g2_io4(&self) -> G2_IO4R {
let bits = ((self.bits >> 7) & 0x01) != 0;
G2_IO4R { bits }
}
#[doc = "Bit 8 - G3_IO1 analog switch enable"]
#[inline(always)]
pub fn g3_io1(&self) -> G3_IO1R {
let bits = ((self.bits >> 8) & 0x01) != 0;
G3_IO1R { bits }
}
#[doc = "Bit 9 - G3_IO2 analog switch enable"]
#[inline(always)]
pub fn g3_io2(&self) -> G3_IO2R {
let bits = ((self.bits >> 9) & 0x01) != 0;
G3_IO2R { bits }
}
#[doc = "Bit 10 - G3_IO3 analog switch enable"]
#[inline(always)]
pub fn g3_io3(&self) -> G3_IO3R {
let bits = ((self.bits >> 10) & 0x01) != 0;
G3_IO3R { bits }
}
#[doc = "Bit 11 - G3_IO4 analog switch enable"]
#[inline(always)]
pub fn g3_io4(&self) -> G3_IO4R {
let bits = ((self.bits >> 11) & 0x01) != 0;
G3_IO4R { bits }
}
#[doc = "Bit 12 - G4_IO1 analog switch enable"]
#[inline(always)]
pub fn g4_io1(&self) -> G4_IO1R {
let bits = ((self.bits >> 12) & 0x01) != 0;
G4_IO1R { bits }
}
#[doc = "Bit 13 - G4_IO2 analog switch enable"]
#[inline(always)]
pub fn g4_io2(&self) -> G4_IO2R {
let bits = ((self.bits >> 13) & 0x01) != 0;
G4_IO2R { bits }
}
#[doc = "Bit 14 - G4_IO3 analog switch enable"]
#[inline(always)]
pub fn g4_io3(&self) -> G4_IO3R {
let bits = ((self.bits >> 14) & 0x01) != 0;
G4_IO3R { bits }
}
#[doc = "Bit 15 - G4_IO4 analog switch enable"]
#[inline(always)]
pub fn g4_io4(&self) -> G4_IO4R {
let bits = ((self.bits >> 15) & 0x01) != 0;
G4_IO4R { bits }
}
#[doc = "Bit 16 - G5_IO1 analog switch enable"]
#[inline(always)]
pub fn g5_io1(&self) -> G5_IO1R {
let bits = ((self.bits >> 16) & 0x01) != 0;
G5_IO1R { bits }
}
#[doc = "Bit 17 - G5_IO2 analog switch enable"]
#[inline(always)]
pub fn g5_io2(&self) -> G5_IO2R {
let bits = ((self.bits >> 17) & 0x01) != 0;
G5_IO2R { bits }
}
#[doc = "Bit 18 - G5_IO3 analog switch enable"]
#[inline(always)]
pub fn g5_io3(&self) -> G5_IO3R {
let bits = ((self.bits >> 18) & 0x01) != 0;
G5_IO3R { bits }
}
#[doc = "Bit 19 - G5_IO4 analog switch enable"]
#[inline(always)]
pub fn g5_io4(&self) -> G5_IO4R {
let bits = ((self.bits >> 19) & 0x01) != 0;
G5_IO4R { bits }
}
#[doc = "Bit 20 - G6_IO1 analog switch enable"]
#[inline(always)]
pub fn g6_io1(&self) -> G6_IO1R {
let bits = ((self.bits >> 20) & 0x01) != 0;
G6_IO1R { bits }
}
#[doc = "Bit 21 - G6_IO2 analog switch enable"]
#[inline(always)]
pub fn g6_io2(&self) -> G6_IO2R {
let bits = ((self.bits >> 21) & 0x01) != 0;
G6_IO2R { bits }
}
#[doc = "Bit 22 - G6_IO3 analog switch enable"]
#[inline(always)]
pub fn g6_io3(&self) -> G6_IO3R {
let bits = ((self.bits >> 22) & 0x01) != 0;
G6_IO3R { bits }
}
#[doc = "Bit 23 - G6_IO4 analog switch enable"]
#[inline(always)]
pub fn g6_io4(&self) -> G6_IO4R {
let bits = ((self.bits >> 23) & 0x01) != 0;
G6_IO4R { bits }
}
#[doc = "Bit 24 - G7_IO1 analog switch enable"]
#[inline(always)]
pub fn g7_io1(&self) -> G7_IO1R {
let bits = ((self.bits >> 24) & 0x01) != 0;
G7_IO1R { bits }
}
#[doc = "Bit 25 - G7_IO2 analog switch enable"]
#[inline(always)]
pub fn g7_io2(&self) -> G7_IO2R {
let bits = ((self.bits >> 25) & 0x01) != 0;
G7_IO2R { bits }
}
#[doc = "Bit 26 - G7_IO3 analog switch enable"]
#[inline(always)]
pub fn g7_io3(&self) -> G7_IO3R {
let bits = ((self.bits >> 26) & 0x01) != 0;
G7_IO3R { bits }
}
#[doc = "Bit 27 - G7_IO4 analog switch enable"]
#[inline(always)]
pub fn g7_io4(&self) -> G7_IO4R {
let bits = ((self.bits >> 27) & 0x01) != 0;
G7_IO4R { bits }
}
#[doc = "Bit 28 - G8_IO1 analog switch enable"]
#[inline(always)]
pub fn g8_io1(&self) -> G8_IO1R {
let bits = ((self.bits >> 28) & 0x01) != 0;
G8_IO1R { bits }
}
#[doc = "Bit 29 - G8_IO2 analog switch enable"]
#[inline(always)]
pub fn g8_io2(&self) -> G8_IO2R {
let bits = ((self.bits >> 29) & 0x01) != 0;
G8_IO2R { bits }
}
#[doc = "Bit 30 - G8_IO3 analog switch enable"]
#[inline(always)]
pub fn g8_io3(&self) -> G8_IO3R {
let bits = ((self.bits >> 30) & 0x01) != 0;
G8_IO3R { bits }
}
#[doc = "Bit 31 - G8_IO4 analog switch enable"]
#[inline(always)]
pub fn g8_io4(&self) -> G8_IO4R {
let bits = ((self.bits >> 31) & 0x01) != 0;
G8_IO4R { bits }
}
}
impl W {
#[doc = r"Writes raw bits to the register"]
#[inline(always)]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.bits = bits;
self
}
#[doc = "Bit 0 - G1_IO1 analog switch enable"]
#[inline(always)]
pub fn g1_io1(&mut self) -> _G1_IO1W {
_G1_IO1W { w: self }
}
#[doc = "Bit 1 - G1_IO2 analog switch enable"]
#[inline(always)]
pub fn g1_io2(&mut self) -> _G1_IO2W {
_G1_IO2W { w: self }
}
#[doc = "Bit 2 - G1_IO3 analog switch enable"]
#[inline(always)]
pub fn g1_io3(&mut self) -> _G1_IO3W {
_G1_IO3W { w: self }
}
#[doc = "Bit 3 - G1_IO4 analog switch enable"]
#[inline(always)]
pub fn g1_io4(&mut self) -> _G1_IO4W {
_G1_IO4W { w: self }
}
#[doc = "Bit 4 - G2_IO1 analog switch enable"]
#[inline(always)]
pub fn g2_io1(&mut self) -> _G2_IO1W {
_G2_IO1W { w: self }
}
#[doc = "Bit 5 - G2_IO2 analog switch enable"]
#[inline(always)]
pub fn g2_io2(&mut self) -> _G2_IO2W {
_G2_IO2W { w: self }
}
#[doc = "Bit 6 - G2_IO3 analog switch enable"]
#[inline(always)]
pub fn g2_io3(&mut self) -> _G2_IO3W {
_G2_IO3W { w: self }
}
#[doc = "Bit 7 - G2_IO4 analog switch enable"]
#[inline(always)]
pub fn g2_io4(&mut self) -> _G2_IO4W {
_G2_IO4W { w: self }
}
#[doc = "Bit 8 - G3_IO1 analog switch enable"]
#[inline(always)]
pub fn g3_io1(&mut self) -> _G3_IO1W {
_G3_IO1W { w: self }
}
#[doc = "Bit 9 - G3_IO2 analog switch enable"]
#[inline(always)]
pub fn g3_io2(&mut self) -> _G3_IO2W {
_G3_IO2W { w: self }
}
#[doc = "Bit 10 - G3_IO3 analog switch enable"]
#[inline(always)]
pub fn g3_io3(&mut self) -> _G3_IO3W {
_G3_IO3W { w: self }
}
#[doc = "Bit 11 - G3_IO4 analog switch enable"]
#[inline(always)]
pub fn g3_io4(&mut self) -> _G3_IO4W {
_G3_IO4W { w: self }
}
#[doc = "Bit 12 - G4_IO1 analog switch enable"]
#[inline(always)]
pub fn g4_io1(&mut self) -> _G4_IO1W {
_G4_IO1W { w: self }
}
#[doc = "Bit 13 - G4_IO2 analog switch enable"]
#[inline(always)]
pub fn g4_io2(&mut self) -> _G4_IO2W {
_G4_IO2W { w: self }
}
#[doc = "Bit 14 - G4_IO3 analog switch enable"]
#[inline(always)]
pub fn g4_io3(&mut self) -> _G4_IO3W {
_G4_IO3W { w: self }
}
#[doc = "Bit 15 - G4_IO4 analog switch enable"]
#[inline(always)]
pub fn g4_io4(&mut self) -> _G4_IO4W {
_G4_IO4W { w: self }
}
#[doc = "Bit 16 - G5_IO1 analog switch enable"]
#[inline(always)]
pub fn g5_io1(&mut self) -> _G5_IO1W {
_G5_IO1W { w: self }
}
#[doc = "Bit 17 - G5_IO2 analog switch enable"]
#[inline(always)]
pub fn g5_io2(&mut self) -> _G5_IO2W {
_G5_IO2W { w: self }
}
#[doc = "Bit 18 - G5_IO3 analog switch enable"]
#[inline(always)]
pub fn g5_io3(&mut self) -> _G5_IO3W {
_G5_IO3W { w: self }
}
#[doc = "Bit 19 - G5_IO4 analog switch enable"]
#[inline(always)]
pub fn g5_io4(&mut self) -> _G5_IO4W {
_G5_IO4W { w: self }
}
#[doc = "Bit 20 - G6_IO1 analog switch enable"]
#[inline(always)]
pub fn g6_io1(&mut self) -> _G6_IO1W {
_G6_IO1W { w: self }
}
#[doc = "Bit 21 - G6_IO2 analog switch enable"]
#[inline(always)]
pub fn g6_io2(&mut self) -> _G6_IO2W {
_G6_IO2W { w: self }
}
#[doc = "Bit 22 - G6_IO3 analog switch enable"]
#[inline(always)]
pub fn g6_io3(&mut self) -> _G6_IO3W {
_G6_IO3W { w: self }
}
#[doc = "Bit 23 - G6_IO4 analog switch enable"]
#[inline(always)]
pub fn g6_io4(&mut self) -> _G6_IO4W {
_G6_IO4W { w: self }
}
#[doc = "Bit 24 - G7_IO1 analog switch enable"]
#[inline(always)]
pub fn g7_io1(&mut self) -> _G7_IO1W {
_G7_IO1W { w: self }
}
#[doc = "Bit 25 - G7_IO2 analog switch enable"]
#[inline(always)]
pub fn g7_io2(&mut self) -> _G7_IO2W {
_G7_IO2W { w: self }
}
#[doc = "Bit 26 - G7_IO3 analog switch enable"]
#[inline(always)]
pub fn g7_io3(&mut self) -> _G7_IO3W {
_G7_IO3W { w: self }
}
#[doc = "Bit 27 - G7_IO4 analog switch enable"]
#[inline(always)]
pub fn g7_io4(&mut self) -> _G7_IO4W {
_G7_IO4W { w: self }
}
#[doc = "Bit 28 - G8_IO1 analog switch enable"]
#[inline(always)]
pub fn g8_io1(&mut self) -> _G8_IO1W {
_G8_IO1W { w: self }
}
#[doc = "Bit 29 - G8_IO2 analog switch enable"]
#[inline(always)]
pub fn g8_io2(&mut self) -> _G8_IO2W {
_G8_IO2W { w: self }
}
#[doc = "Bit 30 - G8_IO3 analog switch enable"]
#[inline(always)]
pub fn g8_io3(&mut self) -> _G8_IO3W {
_G8_IO3W { w: self }
}
#[doc = "Bit 31 - G8_IO4 analog switch enable"]
#[inline(always)]
pub fn g8_io4(&mut self) -> _G8_IO4W {
_G8_IO4W { w: self }
}
}