| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
SH7262 bảng dữ liệu(PDF) 29 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7262 bảng dữ liệu(HTML) 29 Page - Renesas Technology Corp |
|
29 / 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 29 of 45 3.11 Sample Program Listing "serial_flash.c" (8/19) 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 /*""FUNC COMMENT""************************************************************** * ID : * Outline : Write disable *------------------------------------------------------------------------------ * Include : *------------------------------------------------------------------------------ * Declaration : static void write_disable(void); *------------------------------------------------------------------------------ * Description : Issues the Write Disable command to disable erasing or programming * : serial flash memory. *------------------------------------------------------------------------------ * Argument : void *------------------------------------------------------------------------------ * Return Value : void *------------------------------------------------------------------------------ * Note : None *""FUNC COMMENT END""**********************************************************/ static void write_disable(void) { unsigned char cmd[1]; cmd[0] = SFLASHCMD_WRITE_DISABLE; io_cmd_exe(cmd, 1, NULL, 0); } /*""FUNC COMMENT""************************************************************** * ID : * Outline : Busy wait *------------------------------------------------------------------------------ * Include : *------------------------------------------------------------------------------ * Declaration : static void busy_wait(void); *------------------------------------------------------------------------------ * Description : Loops internally when the serial flash memory is busy. *------------------------------------------------------------------------------ * Argument : void *------------------------------------------------------------------------------ * Return Value : void *------------------------------------------------------------------------------ * Note : None *""FUNC COMMENT END""**********************************************************/ static void busy_wait(void) { while ((read_status() & 0x01) != 0) { /* RDY/BSY */ /* serial flash is busy */ } } |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |