![]() |
PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
|
#include "pdl.h"

Go to the source code of this file.
Data Structures | |
| struct | stc_exint_config |
| EXINT configuration. More... | |
| struct | stc_exint_nmi_config |
| NMI configuration. More... | |
| struct | stc_exint_intern_data |
| Datatype for holding internal data needed for EXINT. More... | |
| struct | stc_exint_nmi_intern_data |
| Datatype for holding internal data needed for NMI. More... | |
Macros | |
| #define | PDL_EXINT_CHANNELS |
| #define | EXINT0_BITPOS 0x00000001u |
| #define | EXINT1_BITPOS 0x00000002u |
| #define | EXINT2_BITPOS 0x00000004u |
| #define | EXINT3_BITPOS 0x00000008u |
| #define | EXINT4_BITPOS 0x00000010u |
| #define | EXINT5_BITPOS 0x00000020u |
| #define | EXINT6_BITPOS 0x00000040u |
| #define | EXINT7_BITPOS 0x00000080u |
| #define | EXINT8_BITPOS 0x00000100u |
| #define | EXINT9_BITPOS 0x00000200u |
| #define | EXINT10_BITPOS 0x00000400u |
| #define | EXINT11_BITPOS 0x00000800u |
| #define | EXINT12_BITPOS 0x00001000u |
| #define | EXINT13_BITPOS 0x00002000u |
| #define | EXINT14_BITPOS 0x00004000u |
| #define | EXINT15_BITPOS 0x00008000u |
| #define | EXINT16_BITPOS 0x00010000u |
| #define | EXINT17_BITPOS 0x00020000u |
| #define | EXINT18_BITPOS 0x00040000u |
| #define | EXINT19_BITPOS 0x00080000u |
| #define | EXINT20_BITPOS 0x00100000u |
| #define | EXINT21_BITPOS 0x00200000u |
| #define | EXINT22_BITPOS 0x00400000u |
| #define | EXINT23_BITPOS 0x00800000u |
| #define | EXINT24_BITPOS 0x01000000u |
| #define | EXINT25_BITPOS 0x02000000u |
| #define | EXINT26_BITPOS 0x04000000u |
| #define | EXINT27_BITPOS 0x08000000u |
| #define | EXINT28_BITPOS 0x10000000u |
| #define | EXINT29_BITPOS 0x20000000u |
| #define | EXINT30_BITPOS 0x40000000u |
| #define | EXINT31_BITPOS 0x80000000u |
| #define | EXINT0_BITMASK 0xFFFFFFFEu |
| #define | EXINT1_BITMASK 0xFFFFFFFDu |
| #define | EXINT2_BITMASK 0xFFFFFFFBu |
| #define | EXINT3_BITMASK 0xFFFFFFF7u |
| #define | EXINT4_BITMASK 0xFFFFFFEFu |
| #define | EXINT5_BITMASK 0xFFFFFFDFu |
| #define | EXINT6_BITMASK 0xFFFFFFBFu |
| #define | EXINT7_BITMASK 0FFFFFFF7Fu |
| #define | EXINT8_BITMASK 0xFFFFFEFFu |
| #define | EXINT9_BITMASK 0xFFFFFDFFu |
| #define | EXINT10_BITMASK 0xFFFFFBFFu |
| #define | EXINT11_BITMASK 0xFFFFF7FFu |
| #define | EXINT12_BITMASK 0xFFFFEFFFu |
| #define | EXINT13_BITMASK 0xFFFFDFFFu |
| #define | EXINT14_BITMASK 0xFFFFBFFFu |
| #define | EXINT15_BITMASK 0xFFFF7FFFu |
| #define | EXINT16_BITMASK 0xFFFEFFFFu |
| #define | EXINT17_BITMASK 0xFFFDFFFFu |
| #define | EXINT18_BITMASK 0xFFFBFFFFu |
| #define | EXINT19_BITMASK 0xFFF7FFFFu |
| #define | EXINT20_BITMASK 0xFFEFFFFFu |
| #define | EXINT21_BITMASK 0xFFDFFFFFu |
| #define | EXINT22_BITMASK 0xFFBFFFFFu |
| #define | EXINT23_BITMASK 0xFF7FFFFFu |
| #define | EXINT24_BITMASK 0xFEFFFFFFu |
| #define | EXINT25_BITMASK 0xFDFFFFFFu |
| #define | EXINT26_BITMASK 0xFBFFFFFFu |
| #define | EXINT27_BITMASK 0xF7FFFFFFu |
| #define | EXINT28_BITMASK 0xEFFFFFFFu |
| #define | EXINT29_BITMASK 0xDFFFFFFFu |
| #define | EXINT30_BITMASK 0xBFFFFFFFu |
| #define | EXINT31_BITMASK 0x7FFFFFFFu |
Typedefs | |
| typedef enum en_exint_level | en_exint_level_t |
| typedef struct stc_exint_config | stc_exint_config_t |
| EXINT configuration. More... | |
| typedef struct stc_exint_nmi_config | stc_exint_nmi_config_t |
| NMI configuration. More... | |
| typedef struct stc_exint_intern_data | stc_exint_intern_data_t |
| Datatype for holding internal data needed for EXINT. More... | |
| typedef struct stc_exint_nmi_intern_data | stc_exint_nmi_intern_data_t |
| Datatype for holding internal data needed for NMI. More... | |
Enumerations | |
| enum | en_exint_level { ExIntLowLevel = 0, ExIntHighLevel = 1, ExIntRisingEdge = 2, ExIntFallingEdge = 3 } |
Functions | |
| void | Exint_IrqHandler (uint8_t u8Channel) |
| Interrupt handlers for External interrupts 0. More... | |
| void | ExintNMIrqHandler (void) |
| Interrupt handler for None-Maskable Interrupt (NMI) More... | |
| en_result_t | Exint_Init (stc_exint_config_t *pstcConfig) |
| Init External Interrupts. More... | |
| en_result_t | Exint_DeInit (void) |
| Init External Interrupts. More... | |
| en_result_t | Exint_EnableChannel (uint8_t u8Channel) |
| Enable a single External Interrupt. More... | |
| en_result_t | Exint_DisableChannel (uint8_t u8Channel) |
| Disable a single External Interrupt. More... | |
| en_result_t | Exint_Nmi_Init (stc_exint_nmi_config_t *pstcConfig) |
| Init Non-Maskable Interrupt (NMI) More... | |
| en_result_t | Exint_Nmi_DeInit (stc_exint_nmi_config_t *pstcConfig) |
| De-Init Non-Maskable Interrupt (NMI) More... | |
Variables | |
| stc_exint_intern_data_t | stcExintInternData |
| stc_exint_nmi_intern_data_t | stcExintNMIInternData |
Headerfile for EXINT functions
History:
Definition in file exint.h.