Fujitsu MB91460 SERIES Nota de aplicação - Página 18

Procurar online ou descarregar pdf Nota de aplicação para Placa-mãe Fujitsu MB91460 SERIES. Fujitsu MB91460 SERIES 26 páginas. 32-bit microcontroller
Também para Fujitsu MB91460 SERIES: Manual do utilizador (45 páginas), Começar a trabalhar (41 páginas), Nota de aplicação (23 páginas), Nota de aplicação (29 páginas), Nota de aplicação (29 páginas)

Fujitsu MB91460 SERIES Nota de aplicação

3.8 Order of Initialization

For the Interrupt initialization the order of the steps has to be done like in the following
example code.
/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU */
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR */
/* ELIGIBILITY FOR ANY PURPOSES.
/*
/*---------------------------------------------------------------------------*/
void
InitIrqLevels(void)
{
. . .
ICR08 = 24;
. . .
. . .
}
. . .
void
main(void)
{
InitIrqLevels();
__set_il(31);
__EI();
. . .
}
Note that in this example only the initialization flow is shown. Neither the vector definition nor
the Interrupt service routines are shown here.
MCU-AN-300055-E-V10
INTERRUPTS
Chapter 3 Interrupt Recommendations and Examples
(C) Fujitsu Microelectronics Europe GmbH
/* Reload Timer 0
/* Reload Timer 1
/* First initialize all Interrupt Levels */
/* Set global Interrupt Level to 31
/* Enable Interrupt globally
*/
*/
- 18 -
© Fujitsu Microelectronics Europe GmbH
*/
*/
*/
*/