Renesas Renasas Single-Chip Microcomputer SH7086 Technické informace Strana 97

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 108
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 96
Flash Development Toolkit
Method for Using the User Program Mode (SH7086 Application)
REJ06J0071-0100 /Rev.1.00 2009.2 Page 95 of 106
(2) Area selection (FDTUMain.c)
To select the user boot area or the user area, set FmatsuUserBootMat (0xaa) or FmatsUserMat (0x00) in
the FMATS register. There must be 2 or more of NOP instructions after the setting.
/*
/////////////////////////////
// UserBootSelect Function //
/////////////////////////////
*/
void UserBootSelect(void)
{
volatile BYTE i;
FMATS = FmatsUserBootMat;
for(i=0; i < 1; i++);
/*
nop();
nop();
*/
}
/*
////////////////////////////
// UserMatSelect Function //
////////////////////////////
*/
void UserMatSelect(void)
{
volatile BYTE i;
FMATS = FmatsUserMat;
for(i=0; i < 1; i++);
/*
nop();
nop();
*/
}
Zobrazit stránku 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 107 108

Komentáře k této Příručce

Žádné komentáře