7.3.2 Area Selection (FDTUMain.c)
To select the user boot area or user area, FmatsUserBootMat (0xaa) or FmatsUserMat (0x00) is set in the FMATS
register. At least two NOP instructions are required after setting.
/*
/////////////////////////////
// UserBootSelect Function //
/////////////////////////////
*/
void UserBootSelect(void)
{
FMATS = FmatsUserBootMat;
nop();
nop();
}
/*
////////////////////////////
// UserMatSelect Function //
////////////////////////////
*/
void UserMatSelect(void)
{
FMATS = FmatsUserMat;
nop();
nop();
}
90
Comentarios a estos manuales