Renesas Renasas Single-Chip Microcomputer SH7086 Informations techniques Page 97

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 108
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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();
*/
}
Vue de la page 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 107 108

Commentaires sur ces manuels

Pas de commentaire