| PDL for FM0+ Version1.0 Peripheral Driverl Library for FM0+

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Defines | Typedefs | Enumerations | Functions
C:/pdl_v10/library/driver/exint/exint.h File Reference
`#include "mcu.h"`
`#include "pdl_user.h"`
Include dependency graph for exint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines
#define | EXINT_CHANNEL_NUM (8u)
#define | EXINT_MAX_CH_INDEX (31u)
## Typedefs
typedef enum en_exint_level | en_exint_level_t
typedef enum en_exint_instance_index | en_exint_instance_index_t
| Enumeration to define an index for each enabled EXINT instance.
## Enumerations
enum | en_exint_level { ExIntLowLevel = 0, ExIntHighLevel = 1, ExIntRisingEdge = 2, ExIntFallingEdge = 3 }
enum | en_exint_instance_index { ExintInstanceIndexExint0, ExintInstanceIndexExint1, ExintInstanceIndexExint2, ExintInstanceIndexExint3, ExintInstanceIndexExint4, ExintInstanceIndexExint5, ExintInstanceIndexExint6, ExintInstanceIndexExint7, ExintInstanceIndexExint8, ExintInstanceIndexExint9, ExintInstanceIndexExint10, ExintInstanceIndexExint11, ExintInstanceIndexExint12, ExintInstanceIndexExint13, ExintInstanceIndexExint14, ExintInstanceIndexExint15, ExintInstanceIndexExint16, ExintInstanceIndexExint17, ExintInstanceIndexExint18, ExintInstanceIndexExint19, ExintInstanceIndexExint20, ExintInstanceIndexExint21, ExintInstanceIndexExint22, ExintInstanceIndexExint23, ExintInstanceIndexExint24, ExintInstanceIndexExint25, ExintInstanceIndexExint26, ExintInstanceIndexExint27, ExintInstanceIndexExint28, ExintInstanceIndexExint29, ExintInstanceIndexExint30, ExintInstanceIndexExint31, ExintInstanceIndexMax }
| Enumeration to define an index for each enabled EXINT instance. More...
## Functions
en_result_t | Exint_Enable (uint8_t u8Ch, func_ptr_t pfnIntCb)
| Enable external interrupt.
en_result_t | Exint_Disable (uint8_t u8Ch)
| Dsiable external interrupt.
en_result_t | Exint_SetIntDetectMode (uint8_t u8Ch, en_exint_level_t enLevel)
| Set external interrupt detect mode.
en_exint_level_t | Exint_GetIntDetectMode (uint8_t u8Ch)
| Get the external interrupt detection mode.
void | Exint_IrqHandler (uint8_t u8Channel)
| Interrupt handlers for External interrupts.
en_result_t | Exint_Nmi_SetIntCallback (func_ptr_t pfnIntCb)
| Set the interrupt callback function of NMI.
void | Nmi_IrqHandler (void)
| Interrupt handler for None-Maskable Interrupt (NMI)

## Detailed Description

Headerfile for EXINT functions

History:

- 2014-02-21 1.0 Edison Zhang First version.

Definition in file exint.h.