[求助]m9s08的C语言中如何定义表格在flash中
 
- UID
- 521320
- 性别
- 男
|
[求助]m9s08的C语言中如何定义表格在flash中
请问:在M9S08AC16中,我要定义一个表格,将表格存在flash中,如何定义?例如:在51单片机中可以用下面的语句定义 const unsigned char code hposit[]={1,3,7,0xf,0x1f,0x3f,0x7f,0xff}; 那么 在FREESCALE的8位单片机中 用C语言如何定义?
|
|
|
|
|
|
 
- UID
- 104380
- 性别
- 男
|
很简单,这样定义就可以了: const unsigned char hposit[]={1,3,7,0xf,0x1f,0x3f,0x7f,0xff}; |
|
|
|
|
|
 
- UID
- 187580
- 性别
- 男
|
可以看看这个:http://blog.eccn.com/u/107300/archives/2008/5929.htm |
个人BLOG:http://blog.eccn.com/u/107300/index.htm |
|
|
|
|
|