pub fn split(self) -> Sets {
        let analog = Analog {
            a0: self.a0,
            a1: self.a1,
            a2: self.a2,
            a3: self.a3,
            a4: self.a4,
            a5: self.a5,
            a6: self.a6,
            a7: self.a7,
            a8: self.a8,
            a9: self.a9,
            a10: self.a10,
            a11: self.a11,
            a12: self.a12,
            a13: self.a13,
            a14: self.a14,
            a15: self.a15,
        };

        let flash = QSPIFlash {
            sck: self.flash_sck,
            cs: self.flash_cs,
            data0: self.flash_io0,
            data1: self.flash_io1,
            data2: self.flash_io2,
            data3: self.flash_io3,
        };

        let spi = SPI {
            sck: self.sck,
            mosi: self.mosi,
            miso: self.miso,
        };

        let sdcard = SdCard {
            cs: self.sd_cs,
            cd: self.sd_cd,
        };

        let i2c = I2C {
            sda: self.sda,
            scl: self.scl,
        };

        let usb = USB {
            dm: self.usb_dm,
            dp: self.usb_dp,
        };

        let uart0 = UART0_ {
            rx: self.uart0_rx,
            tx: self.uart0_tx,
        };

        let uart1 = UART1_ {
            rx: self.uart1_rx,
            tx: self.uart1_tx,
        };

        let uart2 = UART2_ {
            rx: self.uart2_rx,
            tx: self.uart2_tx,
        };

        let uart3 = UART3_ {
            rx: self.uart3_rx,
            tx: self.uart3_tx,
        };

        let neopixel = Neopixel {
            neopixel: self.neopixel,
        };

        Sets {
            port: self.port,
            analog,
            spi,
            usb,
            flash,
            sdcard,
            i2c,
            uart0,
            uart1,
            uart2,
            uart3,
            tx_led: self.tx_led,
            rx_led: self.rx_led,
            neopixel,
        }
    }
/// Split the device pins into subsets
Split the device pins into subsets
Split the device pins into subsets
pub fn split(self) -> Sets {
        let analog = Analog {
            a0: self.a0,
            a1: self.a1,
            a2: self.a2,
            a3: self.a3,
            a4: self.a4,
            a5: self.a5,
            a6: self.a6,
            a7: self.a7,
            a8: self.a8,
            a9: self.a9,
            a10: self.a10,
            a11: self.a11,
            a12: self.a12,
            a13: self.a13,
            a14: self.a14,
            a15: self.a15,
        };
        let flash = QSPIFlash {
            sck: self.flash_sck,
            cs: self.flash_cs,
            data0: self.flash_io0,
            data1: self.flash_io1,
            data2: self.flash_io2,
            data3: self.flash_io3,
        };
        let spi = SPI {
            sck: self.sck,
            mosi: self.mosi,
            miso: self.miso,
        };
        let sdcard = SdCard {
            cs: self.sd_cs,
            cd: self.sd_cd,
        };
        let i2c = I2C {
            sda: self.sda,
            scl: self.scl,
        };
        let usb = USB {
            dm: self.usb_dm,
            dp: self.usb_dp,
        };
        let uart0 = UART0_ {
            rx: self.uart0_rx,
            tx: self.uart0_tx,
        };
        let uart1 = UART1_ {
            rx: self.uart1_rx,
            tx: self.uart1_tx,
        };
        let uart2 = UART2_ {
            rx: self.uart2_rx,
            tx: self.uart2_tx,
        };
        let uart3 = UART3_ {
            rx: self.uart3_rx,
            tx: self.uart3_tx,
        };
        let neopixel = Neopixel {
            neopixel: self.neopixel,
        };
        Sets {
            port: self.port,
            analog,
            spi,
            usb,
            flash,
            sdcard,
            i2c,
            uart0,
            uart1,
            uart2,
            uart3,
            tx_led: self.tx_led,
            rx_led: self.rx_led,
            neopixel,
        }
    }
pub fn split ( self ) -> Sets { let analog = Analog { a0 : self . a0 , a1 : self . a1 , a2 : self . a2 , a3 : self . a3 , a4 : self . a4 , a5 : self . a5 , a6 : self . a6 , a7 : self . a7 , a8 : self . a8 , a9 : self . a9 , a10 : self . a10 , a11 : self . a11 , a12 : self . a12 , a13 : self . a13 , a14 : self . a14 , a15 : self . a15 , } ; let flash = QSPIFlash { sck : self . flash_sck , cs : self . flash_cs , data0 : self . flash_io0 , data1 : self . flash_io1 , data2 : self . flash_io2 , data3 : self . flash_io3 , } ; let spi = SPI { sck : self . sck , mosi : self . mosi , miso : self . miso , } ; let sdcard = SdCard { cs : self . sd_cs , cd : self . sd_cd , } ; let i2c = I2C { sda : self . sda , scl : self . scl , } ; let usb = USB { dm : self . usb_dm , dp : self . usb_dp , } ; let uart0 = UART0_ { rx : self . uart0_rx , tx : self . uart0_tx , } ; let uart1 = UART1_ { rx : self . uart1_rx , tx : self . uart1_tx , } ; let uart2 = UART2_ { rx : self . uart2_rx , tx : self . uart2_tx , } ; let uart3 = UART3_ { rx : self . uart3_rx , tx : self . uart3_tx , } ; let neopixel = Neopixel { neopixel : self . neopixel , } ; Sets { port : self . port , analog , spi , usb , flash , sdcard , i2c , uart0 , uart1 , uart2 , uart3 , tx_led : self . tx_led , rx_led : self . rx_led , neopixel , } }
Split the device pins into subsets
Split the device pins into subsets
self
self