| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
UM0097 Datasheet(PDF) 62 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Datasheet(HTML) 62 Page - STMicroelectronics |
|
62 / 229 page ![]() 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 |
|
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 |
| 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 |