MIOS32_IRQ

Functions

s32 MIOS32_IRQ_Disable (void)
s32 MIOS32_IRQ_Enable (void)
s32 MIOS32_IRQ_Install (u8 IRQn, u8 priority)
s32 MIOS32_IRQ_DeInstall (u8 IRQn)

Detailed Description

System Specific IRQ Enable/Disable routines


Function Documentation

s32 MIOS32_IRQ_DeInstall ( u8  IRQn  ) 

This function deinstalls an interrupt service.

Parameters:
[in] IRQn the interrupt number as defined in the CMSIS (e.g. CAN_IRQn)
Returns:
< 0 on errors
s32 MIOS32_IRQ_Disable ( void   ) 

This function disables all interrupts (nested)

Returns:
< 0 on errors
s32 MIOS32_IRQ_Enable ( void   ) 

This function enables all interrupts (nested)

Returns:
< 0 on errors
-1 on nesting errors (MIOS32_IRQ_Disable() hasn't been called before)
s32 MIOS32_IRQ_Install ( u8  IRQn,
u8  priority 
)

This function installs an interrupt service.

Parameters:
[in] IRQn the interrupt number as defined in the CMSIS (e.g. CAN_IRQn)
[in] priority the priority from 0..15 - than lower the value, than higher the priority.
Please prefer the usage of MIOS32_IRQ_PRIO_LOW .. MID .. HIGH .. HIGHEST
Returns:
< 0 on errors

Generated on 22 Jan 2016 for MIOS32 by  doxygen 1.6.1