typedef struct {
#define WRITE_EN(x) (x)
unsigned char write_en;
#define WRITE_DIS(x) (x)
unsigned char write_dis;
#define WRITE_STS(x) (x)
unsigned char write_sts;
#define READ_ID(x) (x)
unsigned char read_id;
#define READ_STS(x) (x)
unsigned char read_sts;
#define READ_DATA(x) (x)
unsigned char read_data;
#define READ_FAST(x) (x)
unsigned char read_fast;
#define ERASE_SECT(x) (x)
unsigned char erase_sect;
#define ERASE_BLOCK(x) (x)
unsigned char erase_block;
} sf_cmd_tbl_t;
它又该怎么初始化,求高人指导。
nanst 于 2012-08-24 14:46:40发表:
没遇到过,学习一下
nanst 于 2012-08-24 14:46:36发表:
没遇到过,学习一下
lanlinux2012 于 2012-07-31 17:41:52发表:
路过