| поискавой системы для электроныых деталей |
|
SH7262 датащи(PDF) 30 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7262 датащи(HTML) 30 Page - Renesas Technology Corp |
|
30 / 45 page ![]() SH7262/SH7264 Group High-speed Read/Write Serial Flash Memory Using the Renesas Serial Peripheral Interface REJ06B0889-0100/Rev.1.00 June 2009 Page 30 of 45 3.12 Sample Program Listing "serial_flash.c" (9/19) 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 /*""FUNC COMMENT""************************************************************** * ID : * Outline : Read status *------------------------------------------------------------------------------ * Include : *------------------------------------------------------------------------------ * Declaration : static unsigned char read_status(void); *------------------------------------------------------------------------------ * Description : Reads the status of serial flash memory. *------------------------------------------------------------------------------ * Argument : void *------------------------------------------------------------------------------ * Return Value : Status register value *------------------------------------------------------------------------------ * Note : None *""FUNC COMMENT END""**********************************************************/ static unsigned char read_status(void) { unsigned char buf; unsigned char cmd[1]; cmd[0] = SFLASHCMD_READ_STATUS; io_cmd_exe_rdmode(cmd, 1, &buf, 1); return buf; } /*""FUNC COMMENT""************************************************************** * ID : * Outline : Write status *------------------------------------------------------------------------------ * Include : *------------------------------------------------------------------------------ * Declaration : static void write_status(unsigned char status); *------------------------------------------------------------------------------ * Description : Writes the status of serial flash memory. *------------------------------------------------------------------------------ * Argument : unsigned char status ; I : status register value *------------------------------------------------------------------------------ * Return Value : void *------------------------------------------------------------------------------ * Note : None *""FUNC COMMENT END""**********************************************************/ static void write_status(unsigned char status) { unsigned char cmd[2]; cmd[0] = SFLASHCMD_WRITE_STATUS; cmd[1] = status; |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |