pub fn split(self) -> Sets {
        let dotstar = Dotstar {
            ci: self.dotstar_ci,
            di: self.dotstar_di,
            nc: self.dotstar_nc,
        };

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

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

        let uart = UART {
            rx: self.d3,
            tx: self.d4,
        };

        Sets {
            dotstar,
            i2c,
            usb,
            uart,
            port: self.port,
        }
    }
/// Split the device pins into subsets
Split the device pins into subsets
Split the device pins into subsets
pub fn split(self) -> Sets {
        let dotstar = Dotstar {
            ci: self.dotstar_ci,
            di: self.dotstar_di,
            nc: self.dotstar_nc,
        };
        let i2c = I2C {
            sda: self.d0,
            scl: self.d2,
        };
        let usb = USB {
            dm: self.usb_dm,
            dp: self.usb_dp,
        };
        let uart = UART {
            rx: self.d3,
            tx: self.d4,
        };
        Sets {
            dotstar,
            i2c,
            usb,
            uart,
            port: self.port,
        }
    }
pub fn split ( self ) -> Sets { let dotstar = Dotstar { ci : self . dotstar_ci , di : self . dotstar_di , nc : self . dotstar_nc , } ; let i2c = I2C { sda : self . d0 , scl : self . d2 , } ; let usb = USB { dm : self . usb_dm , dp : self . usb_dp , } ; let uart = UART { rx : self . d3 , tx : self . d4 , } ; Sets { dotstar , i2c , usb , uart , port : self . port , } }
Split the device pins into subsets
Split the device pins into subsets
self
self