Hi all,
Ilets say i have this structure
struct cbw read_command_re quest;
char buffer[32];
read_command_re quest.signature =0x43425355;
read_command_re quest.tag=0x82A 36008;
read_command_re quest.tlength=0 x24;
read_command_re quest.flags=0x8 0;
read_command_re quest.cbwlun=0; //'1
read_command_re quest.clength=0 x06;
read_command_re quest.operation _code=0x12;
read_command_re quest.lun=0; //'32 '=1
read_command_re quest.lba=0x002 40000;
read_command_re quest.reserved= 0x00;
read_command_re quest.blocks=0x 0000;
read_command_re quest.controls= 0x00;
read_command_re quest.padding1= 0x0000;
read_command_re quest.padding2= 0x0000;
read_command_re quest.padding3= 0x0000;
how do i move my data from read_command_re quest such that when I do a
&buffer i will get 43 42 53 55 .....00 00 00 00 ?
Ilets say i have this structure
struct cbw read_command_re quest;
char buffer[32];
read_command_re quest.signature =0x43425355;
read_command_re quest.tag=0x82A 36008;
read_command_re quest.tlength=0 x24;
read_command_re quest.flags=0x8 0;
read_command_re quest.cbwlun=0; //'1
read_command_re quest.clength=0 x06;
read_command_re quest.operation _code=0x12;
read_command_re quest.lun=0; //'32 '=1
read_command_re quest.lba=0x002 40000;
read_command_re quest.reserved= 0x00;
read_command_re quest.blocks=0x 0000;
read_command_re quest.controls= 0x00;
read_command_re quest.padding1= 0x0000;
read_command_re quest.padding2= 0x0000;
read_command_re quest.padding3= 0x0000;
how do i move my data from read_command_re quest such that when I do a
&buffer i will get 43 42 53 55 .....00 00 00 00 ?
Comment