English
Language : 

SH7262 Datasheet, PDF (40/45 Pages) Renesas Technology Corp – High-speed Read/Write Serial Flash Memory
SH7262/SH7264 Group
High-speed Read/Write Serial Flash Memory
Using the Renesas Serial Peripheral Interface
3.22 Sample Program Listing "serial_flash.c" (19/19)
747 /*""FUNC COMMENT""**************************************************************
748
* ID
:
749
* Outline
: Transfer end wait
750
*------------------------------------------------------------------------------
751
* Include
:
752
*------------------------------------------------------------------------------
753
* Declaration : static void io_wait_tx_end(void);
754
*------------------------------------------------------------------------------
755
* Description : Loops internally until the transmission is completed.
756
*------------------------------------------------------------------------------
757
* Argument
: void
758
*------------------------------------------------------------------------------
759
* Return Value : void
760
*------------------------------------------------------------------------------
761
* Note
: None
762
*""FUNC COMMENT END""**********************************************************/
763 static void io_wait_tx_end(void)
764 {
765
while(RSPI0.SPSR.BIT.TEND == 0){
766
/* wait */
767
}
768 }
769
770 /* End of File */
REJ06B0889-0100/Rev.1.00
June 2009
Page 40 of 45