Fujitsu MB91460 SERIES Примечание по применению - Страница 18

Просмотреть онлайн или скачать pdf Примечание по применению для Материнская плата Fujitsu MB91460 SERIES. Fujitsu MB91460 SERIES 26 страниц. 32-bit microcontroller
Также для Fujitsu MB91460 SERIES: Руководство пользователя (45 страниц), Начало работы (41 страниц), Примечание по применению (23 страниц), Примечание по применению (29 страниц), Примечание по применению (29 страниц)

Fujitsu MB91460 SERIES Примечание по применению

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
*/
*/
*/
*/