Renesas Renasas Single-Chip Microcomputer SH7086 Informações Técnicas Página 97

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 108
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 107 108

Comentários a estes Manuais

Sem comentários