pub fn split(self) -> LtdcLayer1 {
        let config = self.config.as_ref().unwrap();

        let window_x0 = 0;
        let window_x1 = config.active_width;
        let window_y0 = 0;
        let window_y1 = config.active_height;

        let layer1 = LtdcLayer1 {
            layer: LAYER1 {
                _marker: PhantomData,
            },
            bytes_per_pixel: 0,
            window_x0,
            window_x1,
            window_y0,
            window_y1,
        };

        layer1
    }
/// Split the LTDC peripheral into two layers.
///
/// Must have already called `init()`
Split the LTDC peripheral into two layers.
Must have already called `init()`
Split the LTDC peripheral into two layers . Must have already called ` init () `
pub fn split(self) -> LtdcLayer1 {
        let config = self.config.as_ref().unwrap();
        let window_x0 = 0;
        let window_x1 = config.active_width;
        let window_y0 = 0;
        let window_y1 = config.active_height;
        let layer1 = LtdcLayer1 {
            layer: LAYER1 {
                _marker: PhantomData,
            },
            bytes_per_pixel: 0,
            window_x0,
            window_x1,
            window_y0,
            window_y1,
        };
        layer1
    }
pub fn split ( self ) -> LtdcLayer1 { let config = self . config . as_ref ( ) . unwrap ( ) ; let window_x0 = 0 ; let window_x1 = config . active_width ; let window_y0 = 0 ; let window_y1 = config . active_height ; let layer1 = LtdcLayer1 { layer : LAYER1 { _marker : PhantomData , } , bytes_per_pixel : 0 , window_x0 , window_x1 , window_y0 , window_y1 , } ; layer1 }
Split the LTDC peripheral into two layers.
Split the LTDC peripheral into two layers .
self
self