Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

UM0097 Datasheet(PDF) 62 Page - STMicroelectronics

No. de pieza UM0097
Descripción Electrónicos  STR71x firmware library
PDF  229 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0097 Datasheet(HTML) 62 Page - STMicroelectronics

Back Button UM0097 Datasheet HTML 58Page - STMicroelectronics UM0097 Datasheet HTML 59Page - STMicroelectronics UM0097 Datasheet HTML 60Page - STMicroelectronics UM0097 Datasheet HTML 61Page - STMicroelectronics UM0097 Datasheet HTML 62Page - STMicroelectronics UM0097 Datasheet HTML 63Page - STMicroelectronics UM0097 Datasheet HTML 64Page - STMicroelectronics UM0097 Datasheet HTML 65Page - STMicroelectronics UM0097 Datasheet HTML 66Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 62 / 229 page
background image
Peripheral firmware overview
UM0097
62/229
EIC_CurrentPriorityLevelValue
Example:
This example shows how to get the priority level of the current interrupt service routine:
{
vu8 bCurrentPriorityLevelValue;
/* Get the current served IRQ channel priority level.*/
bCurrentPriorityLevelValue = EIC_CurrentPriorityLevelValue();
}
EIC_CurrentPriorityLevelConfig
Note:
1
This function changes the current priority level, but doesn’t change the channel priority level.
2
If this function is used in an interrupt service routine, the new priority level must be higher
than the current priority level.
3
To decrease the current priority level you must ensure that all pending bits are cleared.
4
If the EIC_Init() function is used after the EIC_CurrentPriorityLevelConfig() function the
current priority level is reset to zero.
Caution:
If this function is used in a non interrupt service routine, all IRQ channels with a priority level
lower or equal to the new priority level will be disabled.
Function Name
EIC_CurrentPriorityLevelValue
Function Prototype
u8 EIC_CurrentPriorityLevelValue(void);
Behavior Description
Returns the current priority level of the current served IRQ routine.
Input Parameter
None
Output Parameter
None
Return Value
The current priority level
Required Preconditions
None
Called Functions
None
See also
EIC_CurrentPriorityLevelConfig on page 62
Function Name
EIC_CurrentPriorityLevelConfig
Function Prototype
void EIC_CurrentPriorityLevelConfig(
u8 NewPriorityLevel);
Behavior Description
This function changes the current priority level of the served IRQ
routine.
Input Parameter
NewPriorityLevel: specifies the new priority level. It must be an integer
in the range [0..15].
Output Parameter
None
Return Value
None
Required Preconditions
None
Called Functions
None
See also
EIC_CurrentPriorityLevelValue on page 62



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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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