| 전자부품 데이터시트 검색엔진 |
|
SH7262 데이터시트(PDF) 31 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7262 데이터시트(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 */ |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |