|
YAHAL
Yet Another Hardware Abstraction Library
|
CMSIS Cortex-M0+ Core Peripheral Access Layer Header File. More...
Go to the source code of this file.
Classes | |
| union | APSR_Type |
| Union type to access the Application Program Status Register (APSR). More... | |
| union | IPSR_Type |
| Union type to access the Interrupt Program Status Register (IPSR). More... | |
| union | xPSR_Type |
| Union type to access the Special-Purpose Program Status Registers (xPSR). More... | |
| union | CONTROL_Type |
| Union type to access the Control Registers (CONTROL). More... | |
| struct | NVIC_Type |
| Structure type to access the Nested Vectored Interrupt Controller (NVIC). More... | |
| struct | SCB_Type |
| Structure type to access the System Control Block (SCB). More... | |
| struct | SysTick_Type |
| Structure type to access the System Timer (SysTick). More... | |
Functions | |
| __STATIC_INLINE void | __NVIC_EnableIRQ (IRQn_Type IRQn) |
| Enable Interrupt. | |
| __STATIC_INLINE uint32_t | __NVIC_GetEnableIRQ (IRQn_Type IRQn) |
| Get Interrupt Enable status. | |
| __STATIC_INLINE void | __NVIC_DisableIRQ (IRQn_Type IRQn) |
| Disable Interrupt. | |
| __STATIC_INLINE uint32_t | __NVIC_GetPendingIRQ (IRQn_Type IRQn) |
| Get Pending Interrupt. | |
| __STATIC_INLINE void | __NVIC_SetPendingIRQ (IRQn_Type IRQn) |
| Set Pending Interrupt. | |
| __STATIC_INLINE void | __NVIC_ClearPendingIRQ (IRQn_Type IRQn) |
| Clear Pending Interrupt. | |
| __STATIC_INLINE void | __NVIC_SetPriority (IRQn_Type IRQn, uint32_t priority) |
| Set Interrupt Priority. | |
| __STATIC_INLINE uint32_t | __NVIC_GetPriority (IRQn_Type IRQn) |
| Get Interrupt Priority. | |
| __STATIC_INLINE uint32_t | NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority) |
| Encode Priority. | |
| __STATIC_INLINE void | NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t *const pPreemptPriority, uint32_t *const pSubPriority) |
| Decode Priority. | |
| __STATIC_INLINE void | __NVIC_SetVector (IRQn_Type IRQn, uint32_t vector) |
| Set Interrupt Vector. | |
| __STATIC_INLINE uint32_t | __NVIC_GetVector (IRQn_Type IRQn) |
| Get Interrupt Vector. | |
| __NO_RETURN __STATIC_INLINE void | __NVIC_SystemReset (void) |
| System Reset. | |
| __STATIC_INLINE uint32_t | SCB_GetFPUType (void) |
| get FPU type | |
CMSIS Cortex-M0+ Core Peripheral Access Layer Header File.
Definition in file core_cm0plus.h.
| #define __CM0PLUS_CMSIS_VERSION |
Definition at line 68 of file core_cm0plus.h.
| #define __CM0PLUS_CMSIS_VERSION_MAIN (__CM_CMSIS_VERSION_MAIN) |
Definition at line 66 of file core_cm0plus.h.
| #define __CM0PLUS_CMSIS_VERSION_SUB (__CM_CMSIS_VERSION_SUB) |
Definition at line 67 of file core_cm0plus.h.
| #define __CORE_CM0PLUS_H_DEPENDANT |
Definition at line 132 of file core_cm0plus.h.
| #define __CORE_CM0PLUS_H_GENERIC |
Definition at line 32 of file core_cm0plus.h.
| #define __CORTEX_M (0U) |
Cortex-M Core
Definition at line 71 of file core_cm0plus.h.
| #define __FPU_USED 0U |
__FPU_USED indicates whether an FPU is used or not. This core does not support an FPU at all
Definition at line 76 of file core_cm0plus.h.
| #define __I volatile const |
Defines 'read only' permissions
Definition at line 177 of file core_cm0plus.h.
| #define __IM volatile const /*! Defines 'read only' structure member permissions */ |
Definition at line 183 of file core_cm0plus.h.
| #define __IO volatile |
Defines 'read / write' permissions
Definition at line 180 of file core_cm0plus.h.
| #define __IOM volatile /*! Defines 'read / write' structure member permissions */ |
Definition at line 185 of file core_cm0plus.h.
| #define __O volatile |
Defines 'write only' permissions
Definition at line 179 of file core_cm0plus.h.
| #define __OM volatile /*! Defines 'write only' structure member permissions */ |
Definition at line 184 of file core_cm0plus.h.