Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PM0222 Datasheet(PDF) 11 Page - STMicroelectronics

Part # PM0222
Description  Brain smart hub family
PDF  33 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0222 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button PM0222 Datasheet HTML 7Page - STMicroelectronics PM0222 Datasheet HTML 8Page - STMicroelectronics PM0222 Datasheet HTML 9Page - STMicroelectronics PM0222 Datasheet HTML 10Page - STMicroelectronics PM0222 Datasheet HTML 11Page - STMicroelectronics PM0222 Datasheet HTML 12Page - STMicroelectronics PM0222 Datasheet HTML 13Page - STMicroelectronics PM0222 Datasheet HTML 14Page - STMicroelectronics PM0222 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 33 page
background image
DocID025476 Rev 1
11/33
PM0222
Interrupt management
33
4
Interrupt management
4.1
Vector table
The Cortex-M0 vector table is fixed at address 0x0000_0000 (see “Cortex-M0 Devices
Generic User Guide”, §2.3.4). At Brain startup, address 0x0000_0000 is located in RAM
Bank 1 and the vector table has been copied from the main Flash into RAM bank 1. When
an interrupt is triggered, the CPU reads the vector table at 0x0000_0000 which should
initially contain a pointer to the user code in Flash.
When needed, the software can write in the vector table located in RAM bank 1 at
0x0000_0000 to dynamically change the IRQ routines.
4.2
Interrupt activation sequence
Safely activating a peripheral interrupt requires the following steps:
–
make sure the interrupt is disabled and cleared on the peripheral side (this
prevents receiving an interrupt due to a previous event) (see Brain reference
manual for each peripheral register map);
–
clear pending requests for this interrupt on the Cortex-M0 side using the NVIC
ICPR register;
–
set the priority using the NVIC IPR0-IPR7 registers;
–
activate on the Cortex-M0 side using the NVIC ISER register;
–
activate on the peripheral side
Note that most peripherals require clearing interrupt requests on the peripheral side when
handling interrupt service requests to prevent triggering continuous interrupts for the same
event.
For more details on the Cortex-M0 exception model, see “ARMv6-M Architecture Reference
Manual”, §B1.5.
For more details on Cortex-M0 NVIC behavior and registers, see “ARMv6-M Architecture
Reference Manual”, §B3.4.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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