pub fn write_memory(&mut self, addr: u32, buf: &[u8]) {
        let tfm = TransferMode {
            quad_width: true,
            address_enable: true,
            data_enable: true,
            instruction_enable: true,
            ..TransferMode::default()
        };
        unsafe { self.run_write_instruction(Command::QuadPageProgram, tfm, addr, buf) };
    }
/// Page Program a sequential block of memory to addr.
///
/// Note more than page size bytes are sent to the device, some bytes will
/// be discarded. Check your device for specific handling.
Page Program a sequential block of memory to addr.
Note more than page size bytes are sent to the device, some bytes will
be discarded. Check your device for specific handling.
Page Program a sequential block of memory to addr . Note more than page size bytes are sent to the device some bytes will be discarded . Check your device for specific handling .
pub fn write_memory(&mut self, addr: u32, buf: &[u8]) {
        let tfm = TransferMode {
            quad_width: true,
            address_enable: true,
            data_enable: true,
            instruction_enable: true,
            ..TransferMode::default()
        };
        unsafe { self.run_write_instruction(Command::QuadPageProgram, tfm, addr, buf) };
    }
pub fn write_memory ( & mut self , addr : u32 , buf : & [ u8 ] ) { let tfm = TransferMode { quad_width : true , address_enable : true , data_enable : true , instruction_enable : true , .. TransferMode :: default ( ) } ; unsafe { self . run_write_instruction ( Command :: QuadPageProgram , tfm , addr , buf ) } ; }
Page Program a sequential block of memory to addr.
Page Program a sequential block of memory to addr .
&mut self
addr
u32
buf
&[u8]
&mut self
addr
u32
buf
&[u8]