Infineon MOTIX™ MCU TLE985x Device Family SDK
Macros | Functions
int.h File Reference

Go to the source code of this file.

Detailed Description

Interrupt low level access library.

Version
V0.3.1
Date
28. Aug 2023
Note
This file violates [MISRA 2012 Rule 11.1, required], [MISRA 2012 Rule 11.4, advisory], [MISRA 2012 Rule 11.6, required], [MISRA 2012 Rule 2.5, advisory]

Include Graph

Include dependency graph for int.h:

Macros

#define NMI_WDT   (1u << 0u)
 NMI Flags selection macro, NMI_WDT. More...
 
#define NMI_OT   (1u << 3u)
 NMI Flags selection macro, NMI_OT. More...
 
#define NMI_OWT   (1u << 4u)
 NMI Flags selection macro, NMI_OWT. More...
 
#define NMI_MAP   (1u << 5u)
 NMI Flags selection macro, NMI_MAP. More...
 
#define NMI_ECC   (1u << 6u)
 NMI Flags selection macro, NMI_ECC. More...
 
#define NMI_SUP   (1u << 7u)
 NMI Flags selection macro, NMI_SUP. More...
 
#define NMI_STOF   (1u << 8u)
 NMI Flags selection macro, NMI_STOF. More...
 
#define SCU_EXICON0_EXINT0_RE_Pos   (0UL)
 External Interrupt 0 Rising Edge Bit Position. More...
 
#define SCU_EXICON0_EXINT0_RE_Msk   (0x01UL)
 External Interrupt 0 Rising Edge Bit Mask. More...
 
#define SCU_EXICON0_EXINT0_FE_Pos   (1UL)
 External Interrupt 0 Falling Edge Bit Position. More...
 
#define SCU_EXICON0_EXINT0_FE_Msk   (0x02UL)
 External Interrupt 0 Falling Edge Bit Mask. More...
 
#define SCU_EXICON0_EXINT1_RE_Pos   (2UL)
 External Interrupt 1 Rising Edge Bit Position. More...
 
#define SCU_EXICON0_EXINT1_RE_Msk   (0x04UL)
 External Interrupt 1 Rising Edge Bit Mask. More...
 
#define SCU_EXICON0_EXINT1_FE_Pos   (3UL)
 External Interrupt 1 Falling Edge Bit Position. More...
 
#define SCU_EXICON0_EXINT1_FE_Msk   (0x08UL)
 External Interrupt 1 Falling Edge Bit Mask. More...
 
#define SCU_EXICON0_EXINT2_RE_Pos   (4UL)
 External Interrupt 2 Rising Edge Bit Position. More...
 
#define SCU_EXICON0_EXINT2_RE_Msk   (0x10UL)
 External Interrupt 2 Rising Edge Bit Mask. More...
 
#define SCU_EXICON0_EXINT2_FE_Pos   (5UL)
 External Interrupt 2 Falling Edge Bit Position. More...
 
#define SCU_EXICON0_EXINT2_FE_Msk   (0x20UL)
 External Interrupt 2 Falling Edge Bit Mask. More...
 
#define SCU_NMISR_Msk   (0x1FBu)
 NMI Status Read Bit Mask. More...
 
#define SCU_NMICLR_Msk   (0x33u)
 NMI Clear Bit Mask. More...
 

Functions

void INT_Init (void)
 Initializes the Interrupt module. More...
 
INLINE void Global_Int_En (void)
 Enables Global Interrupt (Pending interrupt requests are not blocked from the core). More...
 
INLINE void Global_Int_Dis (void)
 Disables Global Interrupt (All pending interrupt requests,except NMI, are blocked from the core). More...
 
INLINE void ECC_RAM_DoubleBit_Int_En (void)
 Enables RAM Double Bit ECC Error Interrupt. More...
 
INLINE void ECC_RAM_DoubleBit_Int_Dis (void)
 Disables RAM Double Bit ECC Error Interrupt. More...
 
INLINE void ECC_NVM_DoubleBit_Int_En (void)
 Enables NVM Double Bit ECC Error Interrupt. More...
 
INLINE void ECC_NVM_DoubleBit_Int_Dis (void)
 Disables NVM Double Bit ECC Error Interrupt. More...
 
INLINE void ECC_RAM_SingleBit_Int_Clr (void)
 Clears RAM Single Bit Error Status. More...
 
INLINE void ECC_RAM_DoubleBit_Int_Clr (void)
 Clears RAM Double Bit ECC Error Interrupt flag. More...
 
INLINE void ECC_NVM_DoubleBit_Int_Clr (void)
 Clears NVM Double Bit ECC Error Interrupt flag. More...
 
INLINE void EXINT0_Rising_Edge_Int_En (void)
 Enables External Interrupt 0x on rising edge. More...
 
INLINE void EXINT0_Rising_Edge_Int_Dis (void)
 Disables External Interrupt 0x on rising edge. More...
 
INLINE void EXINT0_Falling_Edge_Int_En (void)
 Enables External Interrupt 0x on falling edge. More...
 
INLINE void EXINT0_Falling_Edge_Int_Dis (void)
 Disables External Interrupt 0x on falling edge. More...
 
INLINE void EXINT1_Rising_Edge_Int_En (void)
 Enables External Interrupt 1x on rising edge. More...
 
INLINE void EXINT1_Rising_Edge_Int_Dis (void)
 Disables External Interrupt 1x on rising edge. More...
 
INLINE void EXINT1_Falling_Edge_Int_En (void)
 Enables External Interrupt 1x on falling edge. More...
 
INLINE void EXINT1_Falling_Edge_Int_Dis (void)
 Disables External Interrupt 1x on falling edge. More...
 
INLINE void EXINT2_Rising_Edge_Int_En (void)
 Enables External Interrupt 2x on rising edge. More...
 
INLINE void EXINT2_Rising_Edge_Int_Dis (void)
 Disables External Interrupt 2x on rising edge. More...
 
INLINE void EXINT2_Falling_Edge_Int_En (void)
 Enables External Interrupt 2x on falling edge. More...
 
INLINE void EXINT2_Falling_Edge_Int_Dis (void)
 Disables External Interrupt 2x on falling edge. More...
 
INLINE void EXINT0_Rising_Edge_Int_Clr (void)
 Clears Interrupt Flag for External Interrupt 0x on rising edge. More...
 
INLINE void EXINT0_Falling_Edge_Int_Clr (void)
 Clears Interrupt Flag for External Interrupt 0x on falling edge. More...
 
INLINE void EXINT1_Rising_Edge_Int_Clr (void)
 Clears Interrupt Flag for External Interrupt 1x on rising edge. More...
 
INLINE void EXINT1_Falling_Edge_Int_Clr (void)
 Clears Interrupt Flag for External Interrupt 1x on falling edge. More...
 
INLINE void EXINT2_Rising_Edge_Int_Clr (void)
 Clears Interrupt Flag for External Interrupt 2x on rising edge. More...
 
INLINE void EXINT2_Falling_Edge_Int_Clr (void)
 Clears Interrupt Flag for External Interrupt 2x on falling edge. More...
 
INLINE void NMI_WDT_Int_En (void)
 Enables Watchdog Timer NMI. More...
 
INLINE void NMI_WDT_Int_Dis (void)
 Disables Watchdog Timer NMI. More...
 
INLINE void NMI_ECC_Int_En (void)
 Enables ECC Error NMI. More...
 
INLINE void NMI_ECC_Int_Dis (void)
 Disables ECC Error NMI. More...
 
INLINE void NMI_MAP_Int_En (void)
 Enables NVM Map Error NMI. More...
 
INLINE void NMI_MAP_Int_Dis (void)
 Disables NVM Map Error NMI. More...
 
INLINE void NMI_SUP_Int_En (void)
 Enables Supply Prewarning NMI. More...
 
INLINE void NMI_SUP_Int_Dis (void)
 Disables Supply Prewarning NMI. More...
 
INLINE void NMI_OWD_Int_En (void)
 Enables Oscillator Watchdog NMI. More...
 
INLINE void NMI_OWD_Int_Dis (void)
 Disables Oscillator Watchdog NMI. More...
 
INLINE void NMI_OT_Int_En (void)
 Enables NMI OT. More...
 
INLINE void NMI_OT_Int_Dis (void)
 Disables NMI OT. More...
 
INLINE void NMI_STOF_Int_En (void)
 Enables Stack Overflow NMI. More...
 
INLINE void NMI_STOF_Int_Dis (void)
 Disables Stack Overflow NMI. More...
 
INLINE void NMI_WDT_Int_Clr (void)
 Clears Watchdog Timer NMI Flag. More...
 
INLINE void NMI_OWD_Int_Clr (void)
 Clears Oscillator Watchdog NMI Flag. More...
 
INLINE void NMI_MAP_Int_Clr (void)
 Clears NVM Map Error NMI Flag. More...
 
INLINE void NMI_STOF_En (void)
 Enables Stack Overflow. More...
 
INLINE void NMI_STOF_Dis (void)
 Disables Stack Overflow. More...
 
INLINE void NMI_STOF_Int_Clr (void)
 Clears Stack Overflow status. More...
 
INLINE void Int_PORT2_Pend_Set (void)
 Sets Interrupt Pending for PORT2. More...
 
INLINE void Int_MON_Pend_Set (void)
 Sets Interrupt Pending for MONx. More...
 
INLINE void Int_DU_Pend_Set (void)
 Sets Interrupt Pending for Differential Unit. More...
 
INLINE void Int_OPA_Pend_Set (void)
 Sets Interrupt Pending for Current Sense Amplifier. More...
 
INLINE void Int_HS_Pend_Set (void)
 Sets Interrupt Pending for High-Side Switch. More...
 
INLINE void Int_BDRV_Pend_Set (void)
 Sets Interrupt Pending for Bridge Driver. More...
 
INLINE void Int_CP_Pend_Set (void)
 Sets Interrupt Pending for Charge Pump. More...
 
INLINE void Int_MATHDIV_Pend_Set (void)
 Sets Interrupt Pending for Math Divider. More...
 
INLINE void Int_WAKEUP_Pend_Set (void)
 Sets Interrupt Pending for WAKEUP. More...
 
INLINE void Int_EXINT1_Pend_Set (void)
 Sets Interrupt Pending for EXINT1. More...
 
INLINE void Int_EXINT0_Pend_Set (void)
 Sets Interrupt Pending for EXINT0. More...
 
INLINE void Int_UART2_Pend_Set (void)
 Sets Interrupt Pending for UART2. More...
 
INLINE void Int_UART1_Pend_Set (void)
 Sets Interrupt Pending for UART1. More...
 
INLINE void Int_SSC2_Pend_Set (void)
 Sets Interrupt Pending for SSC2. More...
 
INLINE void Int_SSC1_Pend_Set (void)
 Sets Interrupt Pending for SSC1. More...
 
INLINE void Int_CCU6SR3_Pend_Set (void)
 Sets Interrupt Pending for CCU6 SR3. More...
 
INLINE void Int_CCU6SR2_Pend_Set (void)
 Sets Interrupt Pending for CCU6 SR2. More...
 
INLINE void Int_CCU6SR1_Pend_Set (void)
 Sets Interrupt Pending for CCU6 SR1. More...
 
INLINE void Int_CCU6SR0_Pend_Set (void)
 Sets Interrupt Pending for CCU6 SR0. More...
 
INLINE void Int_ADC1_Pend_Set (void)
 Sets Interrupt Pending for ADC1. More...
 
INLINE void Int_ADC2_Pend_Set (void)
 Sets Interrupt Pending for ADC2. More...
 
INLINE void Int_GPT2_Pend_Set (void)
 Sets Interrupt Pending for GPT2. More...
 
INLINE void Int_GPT1_Pend_Set (void)
 Sets Interrupt Pending for GPT1. More...
 
INLINE void Int_PORT2_Pend_Clr (void)
 Clears Interrupt Pending for PORT2. More...
 
INLINE void Int_MON_Pend_Clr (void)
 Clears Interrupt Pending for MONx. More...
 
INLINE void Int_DU_Pend_Clr (void)
 Clears Interrupt Pending for Differential Unit. More...
 
INLINE void Int_OPA_Pend_Clr (void)
 Clears Interrupt Pending for Current Sense Amplifier. More...
 
INLINE void Int_HS_Pend_Clr (void)
 Clears Interrupt Pending for High-Side Switch. More...
 
INLINE void Int_BDRV_Pend_Clr (void)
 Clears Interrupt Pending for Bridge Driver. More...
 
INLINE void Int_CP_Pend_Clr (void)
 Clears Interrupt Pending for Charge Pump. More...
 
INLINE void Int_MATHDIV_Pend_Clr (void)
 Clears Interrupt Pending for Math Divider. More...
 
INLINE void Int_WAKEUP_Pend_Clr (void)
 Clears Interrupt Pending for WAKEUP. More...
 
INLINE void Int_EXINT1_Pend_Clr (void)
 Clears Interrupt Pending for EXINT1. More...
 
INLINE void Int_EXINT0_Pend_Clr (void)
 Clears Interrupt Pending for EXINT0. More...
 
INLINE void Int_UART2_Pend_Clr (void)
 Clears Interrupt Pending for UART2. More...
 
INLINE void Int_UART1_Pend_Clr (void)
 Clears Interrupt Pending for UART1. More...
 
INLINE void Int_SSC2_Pend_Clr (void)
 Clears Interrupt Pending for SSC2. More...
 
INLINE void Int_SSC1_Pend_Clr (void)
 Clears Interrupt Pending for SSC1. More...
 
INLINE void Int_CCU6SR3_Pend_Clr (void)
 Clears Interrupt Pending for CCU6 SR3. More...
 
INLINE void Int_CCU6SR2_Pend_Clr (void)
 Clears Interrupt Pending for CCU6 SR2. More...
 
INLINE void Int_CCU6SR1_Pend_Clr (void)
 Clears Interrupt Pending for CCU6 SR1. More...
 
INLINE void Int_CCU6SR0_Pend_Clr (void)
 Clears Interrupt Pending for CCU6 SR0. More...
 
INLINE void Int_ADC1_Pend_Clr (void)
 Clears Interrupt Pending for ADC1. More...
 
INLINE void Int_ADC2_Pend_Clr (void)
 Clears Interrupt Pending for ADC2. More...
 
INLINE void Int_GPT2_Pend_Clr (void)
 Clears Interrupt Pending for GPT2. More...
 
INLINE void Int_GPT1_Pend_Clr (void)
 Clears Interrupt Pending Status for GPT1. More...
 
INLINE void NMI_Pend_Set (void)
 Sets NMI Pending. More...
 
INLINE void PENDSV_Pend_Set (void)
 Sets PENDSV Pending. More...
 
INLINE void PENDSV_Pend_Clr (void)
 Clears PENDSV Pending Status. More...
 
INLINE void SysTick_Pend_Set (void)
 Sets SysTick Exception Pending. More...
 
INLINE void SysTick_Pend_Clr (void)
 Clears SysTick Exception Pending Status. More...
 
INLINE uint16 INT_Get_NMI_Status (void)
 Reads out the NMI Status. More...
 
INLINE void INT_Clr_NMI_Status (uint8 Flags)
 Clears the NMI Status flags. More...
 
INLINE void INT_Enable_Global_Int (void)
 Enables the global interrupt IEN0.EA. More...
 
INLINE void INT_Disable_Global_Int (void)
 Disables the global interrupt IEN0.EA. More...
 

Macro Definition Documentation

◆ NMI_ECC

#define NMI_ECC   (1u << 6u)

NMI Flags selection macro, NMI_ECC.

◆ NMI_MAP

#define NMI_MAP   (1u << 5u)

NMI Flags selection macro, NMI_MAP.

◆ NMI_OT

#define NMI_OT   (1u << 3u)

NMI Flags selection macro, NMI_OT.

◆ NMI_OWT

#define NMI_OWT   (1u << 4u)

NMI Flags selection macro, NMI_OWT.

◆ NMI_STOF

#define NMI_STOF   (1u << 8u)

NMI Flags selection macro, NMI_STOF.

◆ NMI_SUP

#define NMI_SUP   (1u << 7u)

NMI Flags selection macro, NMI_SUP.

◆ NMI_WDT

#define NMI_WDT   (1u << 0u)

NMI Flags selection macro, NMI_WDT.

◆ SCU_EXICON0_EXINT0_FE_Msk

#define SCU_EXICON0_EXINT0_FE_Msk   (0x02UL)

External Interrupt 0 Falling Edge Bit Mask.

◆ SCU_EXICON0_EXINT0_FE_Pos

#define SCU_EXICON0_EXINT0_FE_Pos   (1UL)

External Interrupt 0 Falling Edge Bit Position.

◆ SCU_EXICON0_EXINT0_RE_Msk

#define SCU_EXICON0_EXINT0_RE_Msk   (0x01UL)

External Interrupt 0 Rising Edge Bit Mask.

◆ SCU_EXICON0_EXINT0_RE_Pos

#define SCU_EXICON0_EXINT0_RE_Pos   (0UL)

External Interrupt 0 Rising Edge Bit Position.

◆ SCU_EXICON0_EXINT1_FE_Msk

#define SCU_EXICON0_EXINT1_FE_Msk   (0x08UL)

External Interrupt 1 Falling Edge Bit Mask.

◆ SCU_EXICON0_EXINT1_FE_Pos

#define SCU_EXICON0_EXINT1_FE_Pos   (3UL)

External Interrupt 1 Falling Edge Bit Position.

◆ SCU_EXICON0_EXINT1_RE_Msk

#define SCU_EXICON0_EXINT1_RE_Msk   (0x04UL)

External Interrupt 1 Rising Edge Bit Mask.

◆ SCU_EXICON0_EXINT1_RE_Pos

#define SCU_EXICON0_EXINT1_RE_Pos   (2UL)

External Interrupt 1 Rising Edge Bit Position.

◆ SCU_EXICON0_EXINT2_FE_Msk

#define SCU_EXICON0_EXINT2_FE_Msk   (0x20UL)

External Interrupt 2 Falling Edge Bit Mask.

◆ SCU_EXICON0_EXINT2_FE_Pos

#define SCU_EXICON0_EXINT2_FE_Pos   (5UL)

External Interrupt 2 Falling Edge Bit Position.

◆ SCU_EXICON0_EXINT2_RE_Msk

#define SCU_EXICON0_EXINT2_RE_Msk   (0x10UL)

External Interrupt 2 Rising Edge Bit Mask.

◆ SCU_EXICON0_EXINT2_RE_Pos

#define SCU_EXICON0_EXINT2_RE_Pos   (4UL)

External Interrupt 2 Rising Edge Bit Position.

◆ SCU_NMICLR_Msk

#define SCU_NMICLR_Msk   (0x33u)

NMI Clear Bit Mask.

◆ SCU_NMISR_Msk

#define SCU_NMISR_Msk   (0x1FBu)

NMI Status Read Bit Mask.

Function Documentation

◆ ECC_NVM_DoubleBit_Int_Clr()

INLINE void ECC_NVM_DoubleBit_Int_Clr ( void  )

Clears NVM Double Bit ECC Error Interrupt flag.

Example

This example treats the NVM Double Bit ECC Error Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->EDCSTAT.bit.NVMDBE == (uint8)1)
{
SCU_ECC_NVM_DB_CALLBACK();
}
}
#define SCU
Definition: tle985x.h:6277
INLINE void ECC_NVM_DoubleBit_Int_En(void)
Enables NVM Double Bit ECC Error Interrupt.
Definition: int.h:1903
INLINE void ECC_NVM_DoubleBit_Int_Clr(void)
Clears NVM Double Bit ECC Error Interrupt flag.
Definition: int.h:1923
uint8_t uint8
8 bit unsigned value
Definition: types.h:153

◆ ECC_NVM_DoubleBit_Int_Dis()

INLINE void ECC_NVM_DoubleBit_Int_Dis ( void  )

Disables NVM Double Bit ECC Error Interrupt.

Example

This example treats the NVM Double Bit ECC Error Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIECC == (uint8)1)
{
if ((uint8)SCU->EDCSTAT.bit.NVMDBE == (uint8)1)
{
SCU_ECC_NVM_DB_CALLBACK();
}
}
}
INLINE void NMI_ECC_Int_En(void)
Enables ECC Error NMI.
Definition: int.h:2028
INLINE void ECC_NVM_DoubleBit_Int_Dis(void)
Disables NVM Double Bit ECC Error Interrupt.
Definition: int.h:1908

◆ ECC_NVM_DoubleBit_Int_En()

INLINE void ECC_NVM_DoubleBit_Int_En ( void  )

Enables NVM Double Bit ECC Error Interrupt.

Example

This example treats the NVM Double Bit ECC Error Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIECC == (uint8)1)
{
if ((uint8)SCU->EDCSTAT.bit.NVMDBE == (uint8)1)
{
SCU_ECC_NVM_DB_CALLBACK();
}
}
}

◆ ECC_RAM_DoubleBit_Int_Clr()

INLINE void ECC_RAM_DoubleBit_Int_Clr ( void  )

Clears RAM Double Bit ECC Error Interrupt flag.

Example

This example treats the RAM Double Bit ECC Error Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->EDCSTAT.bit.RDBE == (uint8)1)
{
SCU_ECC_RAM_DB_CALLBACK();
}
}
INLINE void ECC_RAM_DoubleBit_Int_Clr(void)
Clears RAM Double Bit ECC Error Interrupt flag.
Definition: int.h:1918
INLINE void ECC_RAM_DoubleBit_Int_En(void)
Enables RAM Double Bit ECC Error Interrupt.
Definition: int.h:1893

◆ ECC_RAM_DoubleBit_Int_Dis()

INLINE void ECC_RAM_DoubleBit_Int_Dis ( void  )

Disables RAM Double Bit ECC Error Interrupt.

Example

This example treats the RAM Double Bit ECC Error Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIECC == (uint8)1)
{
if ((uint8)SCU->EDCSTAT.bit.RDBE == (uint8)1)
{
SCU_ECC_RAM_DB_CALLBACK();
}
}
}
INLINE void ECC_RAM_DoubleBit_Int_Dis(void)
Disables RAM Double Bit ECC Error Interrupt.
Definition: int.h:1898

◆ ECC_RAM_DoubleBit_Int_En()

INLINE void ECC_RAM_DoubleBit_Int_En ( void  )

Enables RAM Double Bit ECC Error Interrupt.

Example

This example treats the RAM Double Bit ECC Error Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIECC == (uint8)1)
{
if ((uint8)SCU->EDCSTAT.bit.RDBE == (uint8)1)
{
SCU_ECC_RAM_DB_CALLBACK();
}
}
}

◆ ECC_RAM_SingleBit_Int_Clr()

INLINE void ECC_RAM_SingleBit_Int_Clr ( void  )

Clears RAM Single Bit Error Status.

Example

This example checks the RAM Single Bit Error Status.

void Example_Function(void)
{
if ((uint8)SCU->EDCSTAT.bit.RSBE == (uint8)1)
{
}
}
INLINE void ECC_RAM_SingleBit_Int_Clr(void)
Clears RAM Single Bit Error Status.
Definition: int.h:1913

◆ EXINT0_Falling_Edge_Int_Clr()

INLINE void EXINT0_Falling_Edge_Int_Clr ( void  )

Clears Interrupt Flag for External Interrupt 0x on falling edge.

Example

This example treats the External Interrupt 0x on falling edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT0F == (uint8)1)
{
EXINT0_FALLING_CALLBACK();
}
}
INLINE void EXINT0_Falling_Edge_Int_Clr(void)
Clears Interrupt Flag for External Interrupt 0x on falling edge.
Definition: int.h:1993
INLINE void EXINT0_Falling_Edge_Int_En(void)
Enables External Interrupt 0x on falling edge.
Definition: int.h:1938

◆ EXINT0_Falling_Edge_Int_Dis()

INLINE void EXINT0_Falling_Edge_Int_Dis ( void  )

Disables External Interrupt 0x on falling edge.

Example

This example treats the External Interrupt 0x on falling edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT0F == (uint8)1)
{
EXINT0_FALLING_CALLBACK();
}
}
INLINE void EXINT0_Falling_Edge_Int_Dis(void)
Disables External Interrupt 0x on falling edge.
Definition: int.h:1943

◆ EXINT0_Falling_Edge_Int_En()

INLINE void EXINT0_Falling_Edge_Int_En ( void  )

Enables External Interrupt 0x on falling edge.

Example

This example treats the External Interrupt 0x on falling edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT0F == (uint8)1)
{
EXINT0_FALLING_CALLBACK();
}
}

◆ EXINT0_Rising_Edge_Int_Clr()

INLINE void EXINT0_Rising_Edge_Int_Clr ( void  )

Clears Interrupt Flag for External Interrupt 0x on rising edge.

Example

This example treats the External Interrupt 0x on rising edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT0R == (uint8)1)
{
EXINT0_RISING_CALLBACK();
}
}
INLINE void EXINT0_Rising_Edge_Int_En(void)
Enables External Interrupt 0x on rising edge.
Definition: int.h:1928
INLINE void EXINT0_Rising_Edge_Int_Clr(void)
Clears Interrupt Flag for External Interrupt 0x on rising edge.
Definition: int.h:1988

◆ EXINT0_Rising_Edge_Int_Dis()

INLINE void EXINT0_Rising_Edge_Int_Dis ( void  )

Disables External Interrupt 0x on rising edge.

Example

This example treats the External Interrupt 0x on rising edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT0R == (uint8)1)
{
EXINT0_RISING_CALLBACK();
}
}
INLINE void EXINT0_Rising_Edge_Int_Dis(void)
Disables External Interrupt 0x on rising edge.
Definition: int.h:1933

◆ EXINT0_Rising_Edge_Int_En()

INLINE void EXINT0_Rising_Edge_Int_En ( void  )

Enables External Interrupt 0x on rising edge.

Example

This example treats the External Interrupt 0x on rising edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT0R == (uint8)1)
{
EXINT0_RISING_CALLBACK();
}
}

◆ EXINT1_Falling_Edge_Int_Clr()

INLINE void EXINT1_Falling_Edge_Int_Clr ( void  )

Clears Interrupt Flag for External Interrupt 1x on falling edge.

Example

This example treats the External Interrupt 1x on falling edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT1F == (uint8)1)
{
EXINT1_FALLING_CALLBACK();
}
}
INLINE void EXINT1_Falling_Edge_Int_En(void)
Enables External Interrupt 1x on falling edge.
Definition: int.h:1958
INLINE void EXINT1_Falling_Edge_Int_Clr(void)
Clears Interrupt Flag for External Interrupt 1x on falling edge.
Definition: int.h:2003

◆ EXINT1_Falling_Edge_Int_Dis()

INLINE void EXINT1_Falling_Edge_Int_Dis ( void  )

Disables External Interrupt 1x on falling edge.

Example

This example treats the External Interrupt 1x on falling edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT1F == (uint8)1)
{
EXINT1_FALLING_CALLBACK();
}
}
INLINE void EXINT1_Falling_Edge_Int_Dis(void)
Disables External Interrupt 1x on falling edge.
Definition: int.h:1963

◆ EXINT1_Falling_Edge_Int_En()

INLINE void EXINT1_Falling_Edge_Int_En ( void  )

Enables External Interrupt 1x on falling edge.

Example

This example treats the External Interrupt 1x on falling edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT1F == (uint8)1)
{
EXINT1_FALLING_CALLBACK();
}
}

◆ EXINT1_Rising_Edge_Int_Clr()

INLINE void EXINT1_Rising_Edge_Int_Clr ( void  )

Clears Interrupt Flag for External Interrupt 1x on rising edge.

Example

This example treats the External Interrupt 1x on rising edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT1R == (uint8)1)
{
EXINT1_RISING_CALLBACK();
}
}
INLINE void EXINT1_Rising_Edge_Int_Clr(void)
Clears Interrupt Flag for External Interrupt 1x on rising edge.
Definition: int.h:1998
INLINE void EXINT1_Rising_Edge_Int_En(void)
Enables External Interrupt 1x on rising edge.
Definition: int.h:1948

◆ EXINT1_Rising_Edge_Int_Dis()

INLINE void EXINT1_Rising_Edge_Int_Dis ( void  )

Disables External Interrupt 1x on rising edge.

Example

This example treats the External Interrupt 1x on rising edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT1R == (uint8)1)
{
EXINT1_RISING_CALLBACK();
}
}
INLINE void EXINT1_Rising_Edge_Int_Dis(void)
Disables External Interrupt 1x on rising edge.
Definition: int.h:1953

◆ EXINT1_Rising_Edge_Int_En()

INLINE void EXINT1_Rising_Edge_Int_En ( void  )

Enables External Interrupt 1x on rising edge.

Example

This example treats the External Interrupt 1x on rising edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT1R == (uint8)1)
{
EXINT1_RISING_CALLBACK();
}
}

◆ EXINT2_Falling_Edge_Int_Clr()

INLINE void EXINT2_Falling_Edge_Int_Clr ( void  )

Clears Interrupt Flag for External Interrupt 2x on falling edge.

Example

This example treats the External Interrupt 2x on falling edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT2F == (uint8)1)
{
EXINT2_FALLING_CALLBACK();
}
}
INLINE void EXINT2_Falling_Edge_Int_En(void)
Enables External Interrupt 2x on falling edge.
Definition: int.h:1978
INLINE void EXINT2_Falling_Edge_Int_Clr(void)
Clears Interrupt Flag for External Interrupt 2x on falling edge.
Definition: int.h:2013

◆ EXINT2_Falling_Edge_Int_Dis()

INLINE void EXINT2_Falling_Edge_Int_Dis ( void  )

Disables External Interrupt 2x on falling edge.

Example

This example treats the External Interrupt 2x on falling edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT2F == (uint8)1)
{
EXINT2_FALLING_CALLBACK();
}
}
INLINE void EXINT2_Falling_Edge_Int_Dis(void)
Disables External Interrupt 2x on falling edge.
Definition: int.h:1983

◆ EXINT2_Falling_Edge_Int_En()

INLINE void EXINT2_Falling_Edge_Int_En ( void  )

Enables External Interrupt 2x on falling edge.

Example

This example treats the External Interrupt 2x on falling edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT2F == (uint8)1)
{
EXINT2_FALLING_CALLBACK();
}
}

◆ EXINT2_Rising_Edge_Int_Clr()

INLINE void EXINT2_Rising_Edge_Int_Clr ( void  )

Clears Interrupt Flag for External Interrupt 2x on rising edge.

Example

This example treats the External Interrupt 2x on rising edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT2R == (uint8)1)
{
EXINT2_RISING_CALLBACK();
}
}
INLINE void EXINT2_Rising_Edge_Int_Clr(void)
Clears Interrupt Flag for External Interrupt 2x on rising edge.
Definition: int.h:2008
INLINE void EXINT2_Rising_Edge_Int_En(void)
Enables External Interrupt 2x on rising edge.
Definition: int.h:1968

◆ EXINT2_Rising_Edge_Int_Dis()

INLINE void EXINT2_Rising_Edge_Int_Dis ( void  )

Disables External Interrupt 2x on rising edge.

Example

This example treats the External Interrupt 2x on rising edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT2R == (uint8)1)
{
EXINT2_RISING_CALLBACK();
}
}
INLINE void EXINT2_Rising_Edge_Int_Dis(void)
Disables External Interrupt 2x on rising edge.
Definition: int.h:1973

◆ EXINT2_Rising_Edge_Int_En()

INLINE void EXINT2_Rising_Edge_Int_En ( void  )

Enables External Interrupt 2x on rising edge.

Example

This example treats the External Interrupt 2x on rising edge.

void Example_Function(void)
{
if ((uint8)SCU->IRCON0.bit.EXINT2R == (uint8)1)
{
EXINT2_RISING_CALLBACK();
}
}

◆ Global_Int_Dis()

INLINE void Global_Int_Dis ( void  )

Disables Global Interrupt (All pending interrupt requests,except NMI, are blocked from the core).

Example

This example disables Global Interrupt.

void Example_Function(void)
{
}
INLINE void Global_Int_Dis(void)
Disables Global Interrupt (All pending interrupt requests,except NMI, are blocked from the core).
Definition: int.h:1888

◆ Global_Int_En()

INLINE void Global_Int_En ( void  )

Enables Global Interrupt (Pending interrupt requests are not blocked from the core).

Example

This example enables Global Interrupt.

void Example_Function(void)
{
}
INLINE void Global_Int_En(void)
Enables Global Interrupt (Pending interrupt requests are not blocked from the core).
Definition: int.h:1883

◆ Int_ADC1_Pend_Clr()

INLINE void Int_ADC1_Pend_Clr ( void  )

Clears Interrupt Pending for ADC1.

Example

This example clears Interrupt Pending for ADC1.

void Example_Function(void)
{
}
INLINE void Int_ADC1_Pend_Clr(void)
Clears Interrupt Pending for ADC1.
Definition: int.h:2328

◆ Int_ADC1_Pend_Set()

INLINE void Int_ADC1_Pend_Set ( void  )

Sets Interrupt Pending for ADC1.

Example

This example sets Interrupt Pending for ADC1.

void Example_Function(void)
{
}
INLINE void Int_ADC1_Pend_Set(void)
Sets Interrupt Pending for ADC1.
Definition: int.h:2213

◆ Int_ADC2_Pend_Clr()

INLINE void Int_ADC2_Pend_Clr ( void  )

Clears Interrupt Pending for ADC2.

Example

This example clears Interrupt Pending for ADC2.

void Example_Function(void)
{
}
INLINE void Int_ADC2_Pend_Clr(void)
Clears Interrupt Pending for ADC2.
Definition: int.h:2333

◆ Int_ADC2_Pend_Set()

INLINE void Int_ADC2_Pend_Set ( void  )

Sets Interrupt Pending for ADC2.

Example

This example sets Interrupt Pending for ADC2.

void Example_Function(void)
{
}
INLINE void Int_ADC2_Pend_Set(void)
Sets Interrupt Pending for ADC2.
Definition: int.h:2218

◆ Int_BDRV_Pend_Clr()

INLINE void Int_BDRV_Pend_Clr ( void  )

Clears Interrupt Pending for Bridge Driver.

Example

This example clears Interrupt Pending for Bridge Driver.

void Example_Function(void)
{
}
INLINE void Int_BDRV_Pend_Clr(void)
Clears Interrupt Pending for Bridge Driver.
Definition: int.h:2258

◆ Int_BDRV_Pend_Set()

INLINE void Int_BDRV_Pend_Set ( void  )

Sets Interrupt Pending for Bridge Driver.

Example

This example sets Interrupt Pending for Bridge Driver.

void Example_Function(void)
{
}
INLINE void Int_BDRV_Pend_Set(void)
Sets Interrupt Pending for Bridge Driver.
Definition: int.h:2143

◆ Int_CCU6SR0_Pend_Clr()

INLINE void Int_CCU6SR0_Pend_Clr ( void  )

Clears Interrupt Pending for CCU6 SR0.

Example

This example clears Interrupt Pending for CCU6 SR0.

void Example_Function(void)
{
}
INLINE void Int_CCU6SR0_Pend_Clr(void)
Clears Interrupt Pending for CCU6 SR0.
Definition: int.h:2323

◆ Int_CCU6SR0_Pend_Set()

INLINE void Int_CCU6SR0_Pend_Set ( void  )

Sets Interrupt Pending for CCU6 SR0.

Example

This example sets Interrupt Pending for CCU6 SR0.

void Example_Function(void)
{
}
INLINE void Int_CCU6SR0_Pend_Set(void)
Sets Interrupt Pending for CCU6 SR0.
Definition: int.h:2208

◆ Int_CCU6SR1_Pend_Clr()

INLINE void Int_CCU6SR1_Pend_Clr ( void  )

Clears Interrupt Pending for CCU6 SR1.

Example

This example clears Interrupt Pending for CCU6 SR1.

void Example_Function(void)
{
}
INLINE void Int_CCU6SR1_Pend_Clr(void)
Clears Interrupt Pending for CCU6 SR1.
Definition: int.h:2318

◆ Int_CCU6SR1_Pend_Set()

INLINE void Int_CCU6SR1_Pend_Set ( void  )

Sets Interrupt Pending for CCU6 SR1.

Example

This example sets Interrupt Pending for CCU6 SR1.

void Example_Function(void)
{
}
INLINE void Int_CCU6SR1_Pend_Set(void)
Sets Interrupt Pending for CCU6 SR1.
Definition: int.h:2203

◆ Int_CCU6SR2_Pend_Clr()

INLINE void Int_CCU6SR2_Pend_Clr ( void  )

Clears Interrupt Pending for CCU6 SR2.

Example

This example clears Interrupt Pending for CCU6 SR2.

void Example_Function(void)
{
}
INLINE void Int_CCU6SR2_Pend_Clr(void)
Clears Interrupt Pending for CCU6 SR2.
Definition: int.h:2313

◆ Int_CCU6SR2_Pend_Set()

INLINE void Int_CCU6SR2_Pend_Set ( void  )

Sets Interrupt Pending for CCU6 SR2.

Example

This example sets Interrupt Pending for CCU6 SR2.

void Example_Function(void)
{
}
INLINE void Int_CCU6SR2_Pend_Set(void)
Sets Interrupt Pending for CCU6 SR2.
Definition: int.h:2198

◆ Int_CCU6SR3_Pend_Clr()

INLINE void Int_CCU6SR3_Pend_Clr ( void  )

Clears Interrupt Pending for CCU6 SR3.

Example

This example clears Interrupt Pending for CCU6 SR3.

void Example_Function(void)
{
}
INLINE void Int_CCU6SR3_Pend_Clr(void)
Clears Interrupt Pending for CCU6 SR3.
Definition: int.h:2308

◆ Int_CCU6SR3_Pend_Set()

INLINE void Int_CCU6SR3_Pend_Set ( void  )

Sets Interrupt Pending for CCU6 SR3.

Example

This example sets Interrupt Pending for CCU6 SR3.

void Example_Function(void)
{
}
INLINE void Int_CCU6SR3_Pend_Set(void)
Sets Interrupt Pending for CCU6 SR3.
Definition: int.h:2193

◆ INT_Clr_NMI_Status()

INLINE void INT_Clr_NMI_Status ( uint8  Flags)

Clears the NMI Status flags.

Parameters
FlagsNMI Status bit mask

Example

This example Clears All the NMI Status flags.

void Example_Function(void)
{
}
INLINE void INT_Clr_NMI_Status(uint8 Flags)
Clears the NMI Status flags.
Definition: int.h:2378

◆ Int_CP_Pend_Clr()

INLINE void Int_CP_Pend_Clr ( void  )

Clears Interrupt Pending for Charge Pump.

Example

This example clears Interrupt Pending for Charge Pump.

void Example_Function(void)
{
}
INLINE void Int_CP_Pend_Clr(void)
Clears Interrupt Pending for Charge Pump.
Definition: int.h:2263

◆ Int_CP_Pend_Set()

INLINE void Int_CP_Pend_Set ( void  )

Sets Interrupt Pending for Charge Pump.

Example

This example sets Interrupt Pending for Charge Pump.

void Example_Function(void)
{
}
INLINE void Int_CP_Pend_Set(void)
Sets Interrupt Pending for Charge Pump.
Definition: int.h:2148

◆ INT_Disable_Global_Int()

INLINE void INT_Disable_Global_Int ( void  )

Disables the global interrupt IEN0.EA.

Example

This example disables Global Interrupt.

void Example_Function(void)
{
}
INLINE void INT_Disable_Global_Int(void)
Disables the global interrupt IEN0.EA.
Definition: int.h:2388

◆ Int_DU_Pend_Clr()

INLINE void Int_DU_Pend_Clr ( void  )

Clears Interrupt Pending for Differential Unit.

Example

This example clears Interrupt Pending for Differential Unit.

void Example_Function(void)
{
}
INLINE void Int_DU_Pend_Clr(void)
Clears Interrupt Pending for Differential Unit.
Definition: int.h:2243

◆ Int_DU_Pend_Set()

INLINE void Int_DU_Pend_Set ( void  )

Sets Interrupt Pending for Differential Unit.

Example

This example sets Interrupt Pending for Differential Unit.

void Example_Function(void)
{
}
INLINE void Int_DU_Pend_Set(void)
Sets Interrupt Pending for Differential Unit.
Definition: int.h:2128

◆ INT_Enable_Global_Int()

INLINE void INT_Enable_Global_Int ( void  )

Enables the global interrupt IEN0.EA.

Example

This example enables Global Interrupt.

void Example_Function(void)
{
}
INLINE void INT_Enable_Global_Int(void)
Enables the global interrupt IEN0.EA.
Definition: int.h:2383

◆ Int_EXINT0_Pend_Clr()

INLINE void Int_EXINT0_Pend_Clr ( void  )

Clears Interrupt Pending for EXINT0.

Example

This example clears Interrupt Pending for EXINT0.

void Example_Function(void)
{
}
INLINE void Int_EXINT0_Pend_Clr(void)
Clears Interrupt Pending for EXINT0.
Definition: int.h:2283

◆ Int_EXINT0_Pend_Set()

INLINE void Int_EXINT0_Pend_Set ( void  )

Sets Interrupt Pending for EXINT0.

Example

This example sets Interrupt Pending for EXINT0.

void Example_Function(void)
{
}
INLINE void Int_EXINT0_Pend_Set(void)
Sets Interrupt Pending for EXINT0.
Definition: int.h:2168

◆ Int_EXINT1_Pend_Clr()

INLINE void Int_EXINT1_Pend_Clr ( void  )

Clears Interrupt Pending for EXINT1.

Example

This example clears Interrupt Pending for EXINT1.

void Example_Function(void)
{
}
INLINE void Int_EXINT1_Pend_Clr(void)
Clears Interrupt Pending for EXINT1.
Definition: int.h:2278

◆ Int_EXINT1_Pend_Set()

INLINE void Int_EXINT1_Pend_Set ( void  )

Sets Interrupt Pending for EXINT1.

Example

This example sets Interrupt Pending for EXINT1.

void Example_Function(void)
{
}
INLINE void Int_EXINT1_Pend_Set(void)
Sets Interrupt Pending for EXINT1.
Definition: int.h:2163

◆ INT_Get_NMI_Status()

INLINE uint16 INT_Get_NMI_Status ( void  )

Reads out the NMI Status.

Returns
NMI status flags

Example

This example Reads out the NMI Status.

void Example_Function(void)
{
uint16 val;
}
INLINE uint16 INT_Get_NMI_Status(void)
Reads out the NMI Status.
Definition: int.h:2373
uint16_t uint16
16 bit unsigned value
Definition: types.h:154

◆ Int_GPT1_Pend_Clr()

INLINE void Int_GPT1_Pend_Clr ( void  )

Clears Interrupt Pending Status for GPT1.

Example

This example clears Interrupt Pending for GPT1.

void Example_Function(void)
{
}
INLINE void Int_GPT1_Pend_Clr(void)
Clears Interrupt Pending Status for GPT1.
Definition: int.h:2343

◆ Int_GPT1_Pend_Set()

INLINE void Int_GPT1_Pend_Set ( void  )

Sets Interrupt Pending for GPT1.

Example

This example sets Interrupt Pending for GPT1.

void Example_Function(void)
{
}
INLINE void Int_GPT1_Pend_Set(void)
Sets Interrupt Pending for GPT1.
Definition: int.h:2228

◆ Int_GPT2_Pend_Clr()

INLINE void Int_GPT2_Pend_Clr ( void  )

Clears Interrupt Pending for GPT2.

Example

This example clears Interrupt Pending for GPT2.

void Example_Function(void)
{
}
INLINE void Int_GPT2_Pend_Clr(void)
Clears Interrupt Pending for GPT2.
Definition: int.h:2338

◆ Int_GPT2_Pend_Set()

INLINE void Int_GPT2_Pend_Set ( void  )

Sets Interrupt Pending for GPT2.

Example

This example sets Interrupt Pending for GPT2.

void Example_Function(void)
{
}
INLINE void Int_GPT2_Pend_Set(void)
Sets Interrupt Pending for GPT2.
Definition: int.h:2223

◆ Int_HS_Pend_Clr()

INLINE void Int_HS_Pend_Clr ( void  )

Clears Interrupt Pending for High-Side Switch.

Example

This example clears Interrupt Pending for High-Side Switch.

void Example_Function(void)
{
}
INLINE void Int_HS_Pend_Clr(void)
Clears Interrupt Pending for High-Side Switch.
Definition: int.h:2253

◆ Int_HS_Pend_Set()

INLINE void Int_HS_Pend_Set ( void  )

Sets Interrupt Pending for High-Side Switch.

Example

This example sets Interrupt Pending for High-Side Switch.

void Example_Function(void)
{
}
INLINE void Int_HS_Pend_Set(void)
Sets Interrupt Pending for High-Side Switch.
Definition: int.h:2138

◆ INT_Init()

void INT_Init ( void  )

Initializes the Interrupt module.

◆ Int_MATHDIV_Pend_Clr()

INLINE void Int_MATHDIV_Pend_Clr ( void  )

Clears Interrupt Pending for Math Divider.

Example

This example clears Interrupt Pending for Math Divider.

void Example_Function(void)
{
}
INLINE void Int_MATHDIV_Pend_Clr(void)
Clears Interrupt Pending for Math Divider.
Definition: int.h:2268

◆ Int_MATHDIV_Pend_Set()

INLINE void Int_MATHDIV_Pend_Set ( void  )

Sets Interrupt Pending for Math Divider.

Example

This example sets Interrupt Pending for Math Divider.

void Example_Function(void)
{
}
INLINE void Int_MATHDIV_Pend_Set(void)
Sets Interrupt Pending for Math Divider.
Definition: int.h:2153

◆ Int_MON_Pend_Clr()

INLINE void Int_MON_Pend_Clr ( void  )

Clears Interrupt Pending for MONx.

Example

This example clears Interrupt Pending for MONx.

void Example_Function(void)
{
}
INLINE void Int_MON_Pend_Clr(void)
Clears Interrupt Pending for MONx.
Definition: int.h:2238

◆ Int_MON_Pend_Set()

INLINE void Int_MON_Pend_Set ( void  )

Sets Interrupt Pending for MONx.

Example

This example sets Interrupt Pending for MONx.

void Example_Function(void)
{
}
INLINE void Int_MON_Pend_Set(void)
Sets Interrupt Pending for MONx.
Definition: int.h:2123

◆ Int_OPA_Pend_Clr()

INLINE void Int_OPA_Pend_Clr ( void  )

Clears Interrupt Pending for Current Sense Amplifier.

Example

This example clears Interrupt Pending for Current Sense Amplifier.

void Example_Function(void)
{
}
INLINE void Int_OPA_Pend_Clr(void)
Clears Interrupt Pending for Current Sense Amplifier.
Definition: int.h:2248

◆ Int_OPA_Pend_Set()

INLINE void Int_OPA_Pend_Set ( void  )

Sets Interrupt Pending for Current Sense Amplifier.

Example

This example sets Interrupt Pending for Current Sense Amplifier.

void Example_Function(void)
{
}
INLINE void Int_OPA_Pend_Set(void)
Sets Interrupt Pending for Current Sense Amplifier.
Definition: int.h:2133

◆ Int_PORT2_Pend_Clr()

INLINE void Int_PORT2_Pend_Clr ( void  )

Clears Interrupt Pending for PORT2.

Example

This example clears Interrupt Pending for PORT2.

void Example_Function(void)
{
}
INLINE void Int_PORT2_Pend_Clr(void)
Clears Interrupt Pending for PORT2.
Definition: int.h:2233

◆ Int_PORT2_Pend_Set()

INLINE void Int_PORT2_Pend_Set ( void  )

Sets Interrupt Pending for PORT2.

Example

This example sets Interrupt Pending for PORT2.

void Example_Function(void)
{
}
INLINE void Int_PORT2_Pend_Set(void)
Sets Interrupt Pending for PORT2.
Definition: int.h:2118

◆ Int_SSC1_Pend_Clr()

INLINE void Int_SSC1_Pend_Clr ( void  )

Clears Interrupt Pending for SSC1.

Example

This example clears Interrupt Pending for SSC1.

void Example_Function(void)
{
}
INLINE void Int_SSC1_Pend_Clr(void)
Clears Interrupt Pending for SSC1.
Definition: int.h:2303

◆ Int_SSC1_Pend_Set()

INLINE void Int_SSC1_Pend_Set ( void  )

Sets Interrupt Pending for SSC1.

Example

This example sets Interrupt Pending for SSC1.

void Example_Function(void)
{
}
INLINE void Int_SSC1_Pend_Set(void)
Sets Interrupt Pending for SSC1.
Definition: int.h:2188

◆ Int_SSC2_Pend_Clr()

INLINE void Int_SSC2_Pend_Clr ( void  )

Clears Interrupt Pending for SSC2.

Example

This example clears Interrupt Pending for SSC2.

void Example_Function(void)
{
}
INLINE void Int_SSC2_Pend_Clr(void)
Clears Interrupt Pending for SSC2.
Definition: int.h:2298

◆ Int_SSC2_Pend_Set()

INLINE void Int_SSC2_Pend_Set ( void  )

Sets Interrupt Pending for SSC2.

Example

This example sets Interrupt Pending for SSC2.

void Example_Function(void)
{
}
INLINE void Int_SSC2_Pend_Set(void)
Sets Interrupt Pending for SSC2.
Definition: int.h:2183

◆ Int_UART1_Pend_Clr()

INLINE void Int_UART1_Pend_Clr ( void  )

Clears Interrupt Pending for UART1.

Example

This example clears Interrupt Pending for UART1.

void Example_Function(void)
{
}
INLINE void Int_UART1_Pend_Clr(void)
Clears Interrupt Pending for UART1.
Definition: int.h:2293

◆ Int_UART1_Pend_Set()

INLINE void Int_UART1_Pend_Set ( void  )

Sets Interrupt Pending for UART1.

Example

This example sets Interrupt Pending for UART1.

void Example_Function(void)
{
}
INLINE void Int_UART1_Pend_Set(void)
Sets Interrupt Pending for UART1.
Definition: int.h:2178

◆ Int_UART2_Pend_Clr()

INLINE void Int_UART2_Pend_Clr ( void  )

Clears Interrupt Pending for UART2.

Example

This example clears Interrupt Pending for UART2.

void Example_Function(void)
{
}
INLINE void Int_UART2_Pend_Clr(void)
Clears Interrupt Pending for UART2.
Definition: int.h:2288

◆ Int_UART2_Pend_Set()

INLINE void Int_UART2_Pend_Set ( void  )

Sets Interrupt Pending for UART2.

Example

This example sets Interrupt Pending for UART2.

void Example_Function(void)
{
}
INLINE void Int_UART2_Pend_Set(void)
Sets Interrupt Pending for UART2.
Definition: int.h:2173

◆ Int_WAKEUP_Pend_Clr()

INLINE void Int_WAKEUP_Pend_Clr ( void  )

Clears Interrupt Pending for WAKEUP.

Example

This example clears Interrupt Pending for WAKEUP.

void Example_Function(void)
{
}
INLINE void Int_WAKEUP_Pend_Clr(void)
Clears Interrupt Pending for WAKEUP.
Definition: int.h:2273

◆ Int_WAKEUP_Pend_Set()

INLINE void Int_WAKEUP_Pend_Set ( void  )

Sets Interrupt Pending for WAKEUP.

Example

This example sets Interrupt Pending for WAKEUP.

void Example_Function(void)
{
}
INLINE void Int_WAKEUP_Pend_Set(void)
Sets Interrupt Pending for WAKEUP.
Definition: int.h:2158

◆ NMI_ECC_Int_Dis()

INLINE void NMI_ECC_Int_Dis ( void  )

Disables ECC Error NMI.

Example

This example treats the RAM Double Bit ECC Error Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIECC == (uint8)1)
{
if ((uint8)SCU->EDCSTAT.bit.RDBE == (uint8)1)
{
SCU_ECC_RAM_DB_CALLBACK();
}
}
}
INLINE void NMI_ECC_Int_Dis(void)
Disables ECC Error NMI.
Definition: int.h:2033

◆ NMI_ECC_Int_En()

INLINE void NMI_ECC_Int_En ( void  )

Enables ECC Error NMI.

Example

This example treats the RAM Double Bit ECC Error Interrupt.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIECC == (uint8)1)
{
if ((uint8)SCU->EDCSTAT.bit.RDBE == (uint8)1)
{
SCU_ECC_RAM_DB_CALLBACK();
}
}
}

◆ NMI_MAP_Int_Clr()

INLINE void NMI_MAP_Int_Clr ( void  )

Clears NVM Map Error NMI Flag.

Example

This example treats the NVM Map Error NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIMAP == (uint8)1)
{
SCU_NMI_MAP_CALLBACK();
}
}
INLINE void NMI_OWD_Int_En(void)
Enables Oscillator Watchdog NMI.
Definition: int.h:2058
INLINE void NMI_MAP_Int_Clr(void)
Clears NVM Map Error NMI Flag.
Definition: int.h:2098

◆ NMI_MAP_Int_Dis()

INLINE void NMI_MAP_Int_Dis ( void  )

Disables NVM Map Error NMI.

Example

This example treats the NVM Map Error NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIMAP == (uint8)1)
{
SCU_NMI_MAP_CALLBACK();
}
}
INLINE void NMI_MAP_Int_Dis(void)
Disables NVM Map Error NMI.
Definition: int.h:2043
INLINE void NMI_MAP_Int_En(void)
Enables NVM Map Error NMI.
Definition: int.h:2038

◆ NMI_MAP_Int_En()

INLINE void NMI_MAP_Int_En ( void  )

Enables NVM Map Error NMI.

Example

This example treats the NVM Map Error NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIMAP == (uint8)1)
{
SCU_NMI_MAP_CALLBACK();
}
}

◆ NMI_OT_Int_Dis()

INLINE void NMI_OT_Int_Dis ( void  )

Disables NMI OT.

Example

This example treats the ADC2 System Tempertaure Low Interrpt.

void Example_Function(void)
{
{
{
ADC2_SYS_TEMP_LO_CALLBACK();
}
}
}
INLINE void ADC2_TEMP_WARN_Int_Clr(void)
Clears System Overtemperature Prewarning interrupt flag.
Definition: adc2.h:1540
#define SCUPM
Definition: tle985x.h:6278
#define SCUPM_SYS_IRQ_CTRL_SYS_OTWARN_IE_Pos
Definition: tle985x.h:10467
#define SCUPM_SYS_IRQ_CTRL_SYS_OTWARN_IE_Msk
Definition: tle985x.h:10468
#define SCUPM_SYS_IS_SYS_OTWARN_IS_Msk
Definition: tle985x.h:10499
#define SCUPM_SYS_IS_SYS_OTWARN_IS_Pos
Definition: tle985x.h:10498
INLINE void NMI_OT_Int_En(void)
Enables NMI OT.
Definition: int.h:2068
INLINE void NMI_OT_Int_Dis(void)
Disables NMI OT.
Definition: int.h:2073
INLINE uint8 u1_Field_Rd32(const volatile uint32 *reg, uint8 pos, uint32 msk)
This function reads a 1-bit field of a 32-bit register.
Definition: sfr_access.h:423

◆ NMI_OT_Int_En()

INLINE void NMI_OT_Int_En ( void  )

Enables NMI OT.

Example

This example treats the ADC2 System Temperature Low Interrupt.

void Example_Function(void)
{
{
{
ADC2_SYS_TEMP_LO_CALLBACK();
}
}
}

◆ NMI_OWD_Int_Clr()

INLINE void NMI_OWD_Int_Clr ( void  )

Clears Oscillator Watchdog NMI Flag.

Example

This example treats the Oscillator Watchdog NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIOWD == (uint8)1)
{
SCU_NMI_OWD_CALLBACK();
}
}
INLINE void NMI_OWD_Int_Clr(void)
Clears Oscillator Watchdog NMI Flag.
Definition: int.h:2093

◆ NMI_OWD_Int_Dis()

INLINE void NMI_OWD_Int_Dis ( void  )

Disables Oscillator Watchdog NMI.

Example

This example treats the Oscillator Watchdog NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIOWD == (uint8)1)
{
SCU_NMI_OWD_CALLBACK();
}
}
INLINE void NMI_OWD_Int_Dis(void)
Disables Oscillator Watchdog NMI.
Definition: int.h:2063

◆ NMI_OWD_Int_En()

INLINE void NMI_OWD_Int_En ( void  )

Enables Oscillator Watchdog NMI.

Example

This example treats the Oscillator Watchdog NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIOWD == (uint8)1)
{
SCU_NMI_OWD_CALLBACK();
}
}

◆ NMI_Pend_Set()

INLINE void NMI_Pend_Set ( void  )

Sets NMI Pending.

Example

This example sets NMI Pending.

void Example_Function(void)
{
}
INLINE void NMI_Pend_Set(void)
Sets NMI Pending.
Definition: int.h:2348

◆ NMI_STOF_Dis()

INLINE void NMI_STOF_Dis ( void  )

Disables Stack Overflow.

Example

This example treats the Stack Overflow NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMISTOF == (uint8)1)
{
if (SCU->STACK_OVF_STS.bit.STOF_STS == 1u)
{
SCU_NMI_STOF_CALLBACK();
}
}
}
INLINE void NMI_STOF_En(void)
Enables Stack Overflow.
Definition: int.h:2103
INLINE void NMI_STOF_Int_En(void)
Enables Stack Overflow NMI.
Definition: int.h:2078
INLINE void NMI_STOF_Int_Clr(void)
Clears Stack Overflow status.
Definition: int.h:2113
INLINE void NMI_STOF_Dis(void)
Disables Stack Overflow.
Definition: int.h:2108

◆ NMI_STOF_En()

INLINE void NMI_STOF_En ( void  )

Enables Stack Overflow.

Example

This example treats the Stack Overflow NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMISTOF == (uint8)1)
{
if (SCU->STACK_OVF_STS.bit.STOF_STS == 1u)
{
SCU_NMI_STOF_CALLBACK();
}
}
}

◆ NMI_STOF_Int_Clr()

INLINE void NMI_STOF_Int_Clr ( void  )

Clears Stack Overflow status.

Example

This example treats the Stack Overflow NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMISTOF == (uint8)1)
{
STOF_Int_En();
if (SCU->STACK_OVF_STS.bit.STOF_STS == 1u)
{
SCU_NMI_STOF_CALLBACK();
}
}
}

◆ NMI_STOF_Int_Dis()

INLINE void NMI_STOF_Int_Dis ( void  )

Disables Stack Overflow NMI.

Example

This example treats the Stack Overflow NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMISTOF == (uint8)1)
{
STOF_Int_En();
if (SCU->STACK_OVF_STS.bit.STOF_STS == 1u)
{
SCU_NMI_STOF_CALLBACK();
}
}
}
INLINE void NMI_STOF_Int_Dis(void)
Disables Stack Overflow NMI.
Definition: int.h:2083

◆ NMI_STOF_Int_En()

INLINE void NMI_STOF_Int_En ( void  )

Enables Stack Overflow NMI.

Example

This example treats the Stack Overflow NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMISTOF == (uint8)1)
{
STOF_Int_En();
if (SCU->STACK_OVF_STS.bit.STOF_STS == 1u)
{
SCU_NMI_STOF_CALLBACK();
}
}
}

◆ NMI_SUP_Int_Dis()

INLINE void NMI_SUP_Int_Dis ( void  )

Disables Supply Prewarning NMI.

Example

This example treats the ADC1 PostProcessing Channel0 Upper Interrupt.

void Example_Function(void)
{
{
{
ADC1_PP_CH0_UP_CALLBACK();
}
}
}
INLINE void ADC1_PP_Ch0_UP_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt flag.
Definition: adc1.h:7157
#define ADC1
Definition: tle985x.h:6265
#define ADC1_IRQS_2_PP_CH0_UP_IS_Msk
Definition: tle985x.h:6917
#define ADC1_IRQS_2_PP_CH0_UP_IS_Pos
Definition: tle985x.h:6916
#define ADC1_IRQEN_2_PP_CH0_UP_IEN_Pos
Definition: tle985x.h:6846
#define ADC1_IRQEN_2_PP_CH0_UP_IEN_Msk
Definition: tle985x.h:6847
INLINE void NMI_SUP_Int_Dis(void)
Disables Supply Prewarning NMI.
Definition: int.h:2053
INLINE void NMI_SUP_Int_En(void)
Enables Supply Prewarning NMI.
Definition: int.h:2048

◆ NMI_SUP_Int_En()

INLINE void NMI_SUP_Int_En ( void  )

Enables Supply Prewarning NMI.

Example

This example treats the ADC1 PostProcessing Channel0 Upper Interrupt.

void Example_Function(void)
{
{
{
ADC1_PP_CH0_UP_CALLBACK();
}
}
}

◆ NMI_WDT_Int_Clr()

INLINE void NMI_WDT_Int_Clr ( void  )

Clears Watchdog Timer NMI Flag.

Example

This example treats the Watchdog Timer NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIWDT == (uint8)1)
{
if (SCU->WDTCON.bit.WDTEN == 1u)
{
if (SCU->WDTCON.bit.WDTPR == 1u)
{
SCU_NMI_WDT_CALLBACK();
}
}
}
}
INLINE void NMI_WDT_Int_En(void)
Enables Watchdog Timer NMI.
Definition: int.h:2018
INLINE void NMI_WDT_Int_Clr(void)
Clears Watchdog Timer NMI Flag.
Definition: int.h:2088

◆ NMI_WDT_Int_Dis()

INLINE void NMI_WDT_Int_Dis ( void  )

Disables Watchdog Timer NMI.

Example

This example treats the Watchdog Timer NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIWDT == (uint8)1)
{
if (SCU->WDTCON.bit.WDTEN == 1u)
{
if (SCU->WDTCON.bit.WDTPR == 1u)
{
SCU_NMI_WDT_CALLBACK();
}
}
}
}
INLINE void NMI_WDT_Int_Dis(void)
Disables Watchdog Timer NMI.
Definition: int.h:2023

◆ NMI_WDT_Int_En()

INLINE void NMI_WDT_Int_En ( void  )

Enables Watchdog Timer NMI.

Example

This example treats the Watchdog Timer NMI.

void Example_Function(void)
{
if ((uint8)SCU->NMISR.bit.FNMIWDT == (uint8)1)
{
if (SCU->WDTCON.bit.WDTEN == 1u)
{
if (SCU->WDTCON.bit.WDTPR == 1u)
{
SCU_NMI_WDT_CALLBACK();
}
}
}
}

◆ PENDSV_Pend_Clr()

INLINE void PENDSV_Pend_Clr ( void  )

Clears PENDSV Pending Status.

Example

This example clears PENDSV Pending Status.

void Example_Function(void)
{
}
INLINE void PENDSV_Pend_Clr(void)
Clears PENDSV Pending Status.
Definition: int.h:2358

◆ PENDSV_Pend_Set()

INLINE void PENDSV_Pend_Set ( void  )

Sets PENDSV Pending.

Example

This example sets PENDSV Pending.

void Example_Function(void)
{
}
INLINE void PENDSV_Pend_Set(void)
Sets PENDSV Pending.
Definition: int.h:2353

◆ SysTick_Pend_Clr()

INLINE void SysTick_Pend_Clr ( void  )

Clears SysTick Exception Pending Status.

Example

This example clears SysTick Exception Pending Status.

void Example_Function(void)
{
}
INLINE void SysTick_Pend_Clr(void)
Clears SysTick Exception Pending Status.
Definition: int.h:2368

◆ SysTick_Pend_Set()

INLINE void SysTick_Pend_Set ( void  )

Sets SysTick Exception Pending.

Example

This example sets SysTick Exception Pending.

void Example_Function(void)
{
}
INLINE void SysTick_Pend_Set(void)
Sets SysTick Exception Pending.
Definition: int.h:2363