数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PM0215 数据表(PDF) 70 Page - STMicroelectronics

部件名 PM0215
功能描述  STM32F0xxx Cortex-M0 programming manual
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

PM0215 数据表(HTML) 70 Page - STMicroelectronics

Back Button PM0215 Datasheet HTML 66Page - STMicroelectronics PM0215 Datasheet HTML 67Page - STMicroelectronics PM0215 Datasheet HTML 68Page - STMicroelectronics PM0215 Datasheet HTML 69Page - STMicroelectronics PM0215 Datasheet HTML 70Page - STMicroelectronics PM0215 Datasheet HTML 71Page - STMicroelectronics PM0215 Datasheet HTML 72Page - STMicroelectronics PM0215 Datasheet HTML 73Page - STMicroelectronics PM0215 Datasheet HTML 74Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 70 / 91 page
background image
Core peripherals
PM0215
70/91
Doc ID 022979 Rev 1
4.2
Nested vectored interrupt controller (NVIC)
This section describes the Nested Vectored Interrupt Controller (NVIC) and the registers it
uses. The NVIC supports:
Up to 32 interrupts
A programmable priority level of 0-192 in steps of 64 for each interrupt. A higher level
corresponds to a lower priority, so level 0 is the highest interrupt priority
Level and pulse detection of interrupt signals
Interrupt tail-chaining
An external Non-maskable interrupt (NMI)
The processor automatically stacks its state on exception entry and unstacks this state on
exception exit, with no instruction overhead. This provides low latency exception handling.
The hardware implementation of the NVIC registers is:
4.2.1
Accessing the Cortex-M0 NVIC registers using CMSIS
CMSIS functions enable software portability between different Cortex-M profile processors.
To access the NVIC registers when using CMSIS, use the following functions:
Table 25.
NVIC register summary
Address
Name
Type Reset value
Description
0xE000E100
ISER
RW
0x00000000 Table 4.2.2: Interrupt set-enable register (ISER) on page 71
0XE000E180
ICER
RW
0x00000000 Table 4.2.3: Interrupt clear-enable register (ICER) on page 71
0XE000E200
ISPR
RW
0x00000000 Table 4.2.4: Interrupt set-pending register (ISPR) on page 72
0XE000E280
ICPR
RW
0x00000000
Table 4.2.5: Interrupt clear-pending register (ICPR) on
page 72
0xE000E400-
0xE000E41C
IPR0-IPR7
RW
0x00000000 Table 4.2.6: Interrupt priority register (IPR0-IPR7) on page 73
Table 26.
CMSIS access NVIC functions
CMSIS function(1)
Description
void NVIC_EnableIRQ(IRQn_Type IRQn)
Enables an interrupt or exception.
void NVIC_DisableIRQ(IRQn_Type IRQn)
Disables an interrupt or exception.
void NVIC_SetPendingIRQ(IRQn_Type IRQn)
Sets pending status of interrupt or exception to 1.
void NVIC_ClearPendingIRQ(IRQn_Type IRQn)
Clears pending status of interrupt / exception to 0.
uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn)
Reads the pending status of interrupt / exception.
Returns non-zero value if pending status is set to 1.
void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
Sets priority of an interrupt / exception with configurable
priority level to 1.
uint32_t NVIC_GetPriority(IRQn_Type IRQn)
Reads priority of an interrupt or exception with
configurable priority level.
Returns the current priority level.
1.
The input parameter IRQn is the IRQ number,



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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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