Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

OS21 Scheda tecnica(PDF) 11 Page - STMicroelectronics

Il numero della parte OS21
Spiegazioni elettronici  The API defined in the OS21 User manual
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

OS21 Scheda tecnica(HTML) 11 Page - STMicroelectronics

Back Button OS21 Datasheet HTML 7Page - STMicroelectronics OS21 Datasheet HTML 8Page - STMicroelectronics OS21 Datasheet HTML 9Page - STMicroelectronics OS21 Datasheet HTML 10Page - STMicroelectronics OS21 Datasheet HTML 11Page - STMicroelectronics OS21 Datasheet HTML 12Page - STMicroelectronics OS21 Datasheet HTML 13Page - STMicroelectronics OS21 Datasheet HTML 14Page - STMicroelectronics OS21 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 16 page
background image
OS21, ARM
Board support packages
8083358
9/14
4.2.2
Interrupt table
The interrupt table describes the interrupt system to the OS21 platform-specific interrupt
API implementation code. On ARM there is only one interrupt table. The format of the table
depends upon whether or not interrupt priority levels are supported.
Interrupt table - no interrupt priority level support
Some ARM platforms do not support interrupt levels (for example, STn8815). In this case
each entry in the interrupt table has four fields, as follows:
/* An entry in the interrupt table */
typedef struct interrupt_table_entry_s
{
interrupt_name_t * namep;
unsigned int
controller;
unsigned int
reg_set;
unsigned int
bit_set;
} interrupt_table_entry_t;
The table describes interrupts that are routed to specific interrupt controllers.
namep
is a pointer to the name of the interrupt. controller specifies the interrupt
controller where the interrupt arrives (only OS21_CTRL_INTC is supported on ARM
platforms). reg_set is the number of the register set to which the interrupt is routed.
Currently interrupts are routed to two registers on the interrupt controller; OS21 numbers
these 0 or 1. bit_set is the bit number within this register.
This table enables OS21 to locate an appropriate bit in the INTC that maps to the named
interrupt. For example:
interrupt_name_t OS21_MY_INTERRUPT = 21;
interrupt_table_entry_t my_interrupt =
{ &OS21_MY_INTERRUPT, OS21_CTRL_INTC, 1, 15 };
This describes an interrupt called OS21_MY_INTERRUPT, which is routed into bit 15 of
register set 1 on the interrupt controller OS21_CTRL_INTC.
interrupt_table_entry_t bsp_interrupt_table [];
This describes the set of interrupts that arrive on the INTC. It comprises a list of
interrupt_table_entry_t
types. For example:
interrupt_table_entry_t bsp_interrupt_table [] =
{
{ &OS21_INTERRUPT_TIMER_0, OS21_CTRL_INTC, 0, 0 },
{ &OS21_INTERRUPT_TIMER_1, OS21_CTRL_INTC, 0, 1 },
{ &OS21_INTERRUPT_TIMER_2, OS21_CTRL_INTC, 0, 2 },
{ &OS21_INTERRUPT_TIMER_3, OS21_CTRL_INTC, 0, 3 }
};
This describes a basic system with four timer interrupts. Real systems are likely to be
different to this.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com