| 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) 31 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7262 bảng dữ liệu(HTML) 31 Page - Renesas Technology Corp |
|
31 / 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 31 of 45 3.13 Sample Program Listing "serial_flash.c" (10/19) 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 write_enable(); io_cmd_exe(cmd, 2, NULL, 0); busy_wait(); } /*""FUNC COMMENT""************************************************************** * ID : * Outline : RSPI initialization *------------------------------------------------------------------------------ * Include : *------------------------------------------------------------------------------ * Declaration : static void io_init_rspi(void); *------------------------------------------------------------------------------ * Description : Initializes channel 0 of the RSPI. * : Sets the RSPI in master mode to set parameters to transfer * : according to the specifications of serial flash memory. *------------------------------------------------------------------------------ * Argument : void *------------------------------------------------------------------------------ * Return Value : void *------------------------------------------------------------------------------ * Note : None *""FUNC COMMENT END""**********************************************************/ static void io_init_rspi(void) { /* ==== PORT ==== */ PORT.PFCR3.BIT.PF12MD = 3; /* PF12:MISO0 */ PORT.PFCR2.BIT.PF11MD = 3; /* PF11:MOSI0 */ PORT.PFCR2.BIT.PF10MD = 3; /* PF10:SSL00 */ PORT.PFCR2.BIT.PF9MD = 3; /* PF9:RSPCK0 */ /* ==== CPG ==== */ CPG.STBCR5.BIT.MSTP51 = 0; /* RSPI0 active */ |
|
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 |