Renesas Renasas Single-Chip Microcomputer SH7086 Información técnica Pagina 97

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 108
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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();
*/
}
Vista de pagina 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 107 108

Comentarios a estos manuales

Sin comentarios