pub fn split(self) -> Sets {
        let analog = Analog {
            a0: self.a0,
            a1: self.a1,
            a2: self.a2,
            a3: self.a3,
        };
        let uart = Uart {
            tx: self.tx,
            rx: self.rx,
        };
        let spi = Spi {
            miso: self.miso,
            mosi: self.mosi,
            sclk: self.sclk,
        };
        let i2c = I2c {
            sda: self.sda,
            scl: self.scl,
        };
        let neopixel = Neopixel {
            power: self.neopixel_power,
            data: self.neopixel_data,
        };
        let usb = Usb {
            dm: self.usb_dm,
            dp: self.usb_dp,
        };
        Sets {
            analog,
            uart,
            spi,
            i2c,
            neopixel,
            usb,
        }
    }
/// Splits this `Pins` into categorized sets of pins.
Splits this `Pins` into categorized sets of pins.
Splits this ` Pins ` into categorized sets of pins .
pub fn split(self) -> Sets {
        let analog = Analog {
            a0: self.a0,
            a1: self.a1,
            a2: self.a2,
            a3: self.a3,
        };
        let uart = Uart {
            tx: self.tx,
            rx: self.rx,
        };
        let spi = Spi {
            miso: self.miso,
            mosi: self.mosi,
            sclk: self.sclk,
        };
        let i2c = I2c {
            sda: self.sda,
            scl: self.scl,
        };
        let neopixel = Neopixel {
            power: self.neopixel_power,
            data: self.neopixel_data,
        };
        let usb = Usb {
            dm: self.usb_dm,
            dp: self.usb_dp,
        };
        Sets {
            analog,
            uart,
            spi,
            i2c,
            neopixel,
            usb,
        }
    }
pub fn split ( self ) -> Sets { let analog = Analog { a0 : self . a0 , a1 : self . a1 , a2 : self . a2 , a3 : self . a3 , } ; let uart = Uart { tx : self . tx , rx : self . rx , } ; let spi = Spi { miso : self . miso , mosi : self . mosi , sclk : self . sclk , } ; let i2c = I2c { sda : self . sda , scl : self . scl , } ; let neopixel = Neopixel { power : self . neopixel_power , data : self . neopixel_data , } ; let usb = Usb { dm : self . usb_dm , dp : self . usb_dp , } ; Sets { analog , uart , spi , i2c , neopixel , usb , } }
Splits this `Pins` into categorized sets of pins.
Splits this ` Pins ` into categorized sets of pins .
self
self