Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

PM0223 Fiches technique(PDF) 87 Page - STMicroelectronics

No de pièce PM0223
Description  This programming manual provides information for application and system-level software developers
PDF  110 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0223 Fiches technique(HTML) 87 Page - STMicroelectronics

Back Button PM0223 Datasheet HTML 83Page - STMicroelectronics PM0223 Datasheet HTML 84Page - STMicroelectronics PM0223 Datasheet HTML 85Page - STMicroelectronics PM0223 Datasheet HTML 86Page - STMicroelectronics PM0223 Datasheet HTML 87Page - STMicroelectronics PM0223 Datasheet HTML 88Page - STMicroelectronics PM0223 Datasheet HTML 89Page - STMicroelectronics PM0223 Datasheet HTML 90Page - STMicroelectronics PM0223 Datasheet HTML 91Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 87 / 110 page
background image
DocID025763 Rev 1
87/110
PM0223
STM32L0 Core Peripherals
108
For a level-sensitive interrupt, if the interrupt signal is still asserted, the state of the interrupt
does not change. Otherwise, the state of the interrupt changes to inactive.
For a pulse interrupt, state of the interrupt changes to:
Inactive, if the state was pending.
Active, if the state was active and pending.
4.2.8
NVIC usage hints and tips
Ensure software uses correctly aligned register accesses. The processor does not support
unaligned accesses to NVIC registers.
An interrupt can enter pending state even if it is disabled. Disabling an interrupt only
prevents the processor from taking that interrupt.
Before programming VTOR to relocate the vector table, ensure the vector table entries of
the new vector table are set up for fault handlers, NMI and all enabled exception like
interrupts. For more information, see 4.3.4: Vector Table Offset Register on page 91.
NVIC programming hints
Software uses the CPSIE i and CPSIDi instructions to enable and disable interrupts. The
CMSIS provides the following intrinsic functions for these instructions:
void __disable_irq(void) // Disable Interrupts
void __enable_irq(void)
// Enable Interrupts
In addition, the CMSIS provides a number of functions for NVIC control, including:
The input parameter IRQn is the IRQ number, see Table 13 on page 27 for more information.
For more information about these functions, see the CMSIS documentation.
Table 29. CMSIS functions for NVIC control
CMSIS interrupt control function
Description
void NVIC_EnableIRQ(IRQn_t IRQn)
Enable IRQn.
void NVIC_DisableIRQ(IRQn_t IRQn)
Disable IRQn
uint32_t NVIC_GetPendingIRQ (IRQn_t IRQn)
Return true (1) if IRQn is
pending.
void NVIC_SetPendingIRQ (IRQn_t IRQn)
Set IRQn pending.
void NVIC_ClearPendingIRQ (IRQn_t IRQn)
Clear IRQn pending status.
void NVIC_SetPriority (IRQn_t IRQn,
uint32_t priority)
Set priority for IRQn.
uint32_t NVIC_GetPriority (IRQn_t IRQn)
Read priority of IRQn.
void NVIC_SystemReset (void)
Reset the system.



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 92 93 94 95 96 97 98 99 100  ...More


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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