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

Go to the source code of this file.

Detailed Description

High Voltage Monitor Input low level access library.

Version
V0.2.5
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 mon.h:

Macros

#define MON1_STATUS_LOW   (0U)
 MONx Status Flag mask, MON1 LOW STATUS. More...
 
#define MON1_STATUS_HIGH   (1U)
 MONx Status Flag mask, MON1 HIGH STATUS. More...
 
#define MON2_STATUS_LOW   (0U)
 MONx Status Flag mask, MON2 LOW STATUS. More...
 
#define MON2_STATUS_HIGH   (1U)
 MONx Status Flag mask, MON2 HIGH STATUS. More...
 
#define MON3_STATUS_LOW   (0U)
 MONx Status Flag mask, MON3 LOW STATUS. More...
 
#define MON3_STATUS_HIGH   (1U)
 MONx Status Flag mask, MON3 HIGH STATUS. More...
 
#define MON4_STATUS_LOW   (0U)
 MONx Status Flag mask, MON4 LOW STATUS. More...
 
#define MON4_STATUS_HIGH   (1U)
 MONx Status Flag mask, MON4 HIGH STATUS. More...
 
#define SCU_EXICON1_MON1_RE_Pos   (0UL)
 External Interrupt MON1 Rising Edge Bit Position. More...
 
#define SCU_EXICON1_MON1_RE_Msk   (0x01UL)
 External Interrupt MON1 Rising Edge Bit Mask. More...
 
#define SCU_EXICON1_MON1_FE_Pos   (1UL)
 External Interrupt MON1 Falling Edge Bit Position. More...
 
#define SCU_EXICON1_MON1_FE_Msk   (0x02UL)
 External Interrupt MON1 Falling Edge Bit Mask. More...
 
#define SCU_EXICON1_MON2_RE_Pos   (2UL)
 External Interrupt MON2 Rising Edge Bit Position. More...
 
#define SCU_EXICON1_MON2_RE_Msk   (0x04UL)
 External Interrupt MON2 Rising Edge Bit Mask. More...
 
#define SCU_EXICON1_MON2_FE_Pos   (3UL)
 External Interrupt MON2 Falling Edge Bit Position. More...
 
#define SCU_EXICON1_MON2_FE_Msk   (0x08UL)
 External Interrupt MON2 Falling Edge Bit Mask. More...
 
#define SCU_EXICON1_MON3_RE_Pos   (4UL)
 External Interrupt MON3 Rising Edge Bit Position. More...
 
#define SCU_EXICON1_MON3_RE_Msk   (0x10UL)
 External Interrupt MON3 Rising Edge Bit Mask. More...
 
#define SCU_EXICON1_MON3_FE_Pos   (5UL)
 External Interrupt MON3 Falling Edge Bit Position. More...
 
#define SCU_EXICON1_MON3_FE_Msk   (0x20UL)
 External Interrupt MON3 Falling Edge Bit Mask. More...
 
#define SCU_EXICON1_MON4_RE_Pos   (6UL)
 External Interrupt MON4 Rising Edge Bit Position. More...
 
#define SCU_EXICON1_MON4_RE_Msk   (0x40UL)
 External Interrupt MON4 Rising Edge Bit Mask. More...
 
#define SCU_EXICON1_MON4_FE_Pos   (7UL)
 External Interrupt MON4 Falling Edge Bit Position. More...
 
#define SCU_EXICON1_MON4_FE_Msk   (0x80UL)
 External Interrupt MON4 Falling Edge Bit Mask. More...
 

Functions

void MONx_Init (void)
 Initializes the MONx module. More...
 
uint8 MONx_Get_Status (uint8 Monx)
 Reads out the MONx Status. More...
 
uint8 MONx_Debounce (uint8 Monx, uint8 MonActiveState)
 Debounces the MONx input and reads the logical input value. More...
 
INLINE void MON1_Rising_Edge_Int_Clr (void)
 Clears MON1 on rising edge interrupt flag. More...
 
INLINE void MON1_Falling_Edge_Int_Clr (void)
 Clears MON1 on falling edge interrupt flag. More...
 
INLINE void MON2_Rising_Edge_Int_Clr (void)
 Clears MON2 on rising edge interrupt flag. More...
 
INLINE void MON2_Falling_Edge_Int_Clr (void)
 Clears MON2 on falling edge interrupt flag. More...
 
INLINE void MON3_Rising_Edge_Int_Clr (void)
 Clears MON3 on rising edge interrupt flag. More...
 
INLINE void MON3_Falling_Edge_Int_Clr (void)
 Clears MON3 on falling edge interrupt flag. More...
 
INLINE void MON4_Rising_Edge_Int_Clr (void)
 Clears MON4 on rising edge interrupt flag. More...
 
INLINE void MON4_Falling_Edge_Int_Clr (void)
 Clears MON4 on falling edge interrupt flag. More...
 
INLINE void MON1_Rising_Edge_Int_En (void)
 Enables MON1 on rising edge interrupt. More...
 
INLINE void MON1_Rising_Edge_Int_Dis (void)
 Disables MON1 on rising edge interrupt. More...
 
INLINE void MON1_Falling_Edge_Int_En (void)
 Enables MON1 on falling edge interrupt. More...
 
INLINE void MON1_Falling_Edge_Int_Dis (void)
 Disables MON1 on falling edge interrupt. More...
 
INLINE void MON2_Rising_Edge_Int_En (void)
 Enables MON2 on rising edge interrupt. More...
 
INLINE void MON2_Rising_Edge_Int_Dis (void)
 Disables MON2 on rising edge interrupt. More...
 
INLINE void MON2_Falling_Edge_Int_En (void)
 Enables MON2 on falling edge interrupt. More...
 
INLINE void MON2_Falling_Edge_Int_Dis (void)
 Disables MON2 on falling edge interrupt. More...
 
INLINE void MON3_Rising_Edge_Int_En (void)
 Enables MON3 on rising edge interrupt. More...
 
INLINE void MON3_Rising_Edge_Int_Dis (void)
 Disables MON3 on rising edge interrupt. More...
 
INLINE void MON3_Falling_Edge_Int_En (void)
 Enables MON3 on falling edge interrupt. More...
 
INLINE void MON3_Falling_Edge_Int_Dis (void)
 Disables MON3 on falling edge interrupt. More...
 
INLINE void MON4_Rising_Edge_Int_En (void)
 Enables MON4 on rising edge interrupt. More...
 
INLINE void MON4_Rising_Edge_Int_Dis (void)
 Disables MON4 on rising edge interrupt. More...
 
INLINE void MON4_Falling_Edge_Int_En (void)
 Enables MON4 on falling edge interrupt. More...
 
INLINE void MON4_Falling_Edge_Int_Dis (void)
 Disables MON4 on falling edge interrupt. More...
 
INLINE uint8 MON1_Sts (void)
 Reads MON1 Status. More...
 
INLINE void MON1_PullUp_En (void)
 Enables PullUp for MON1. More...
 
INLINE void MON1_PullUp_Dis (void)
 Disables PullUp for MON1. More...
 
INLINE void MON1_PullDown_En (void)
 Enables PullDown for MON1. More...
 
INLINE void MON1_PullDown_Dis (void)
 Disables PullDown for MON1. More...
 
INLINE void MON1_CycSense_En (void)
 Enables Cycle Sense for MON1. More...
 
INLINE void MON1_CycSense_Dis (void)
 Disables Cycle Sense for MON1. More...
 
INLINE void MON1_WakeOnRise_En (void)
 Enables Wake-up on Rising Edge for MON1. More...
 
INLINE void MON1_WakeOnRise_Dis (void)
 Disables Wake-up on Rising Edge for MON1. More...
 
INLINE void MON1_WakeOnFall_En (void)
 Enables Wake-up on Falling Edge for MON1. More...
 
INLINE void MON1_WakeOnFall_Dis (void)
 Disables Wake-up on Falling Edge for MON1. More...
 
INLINE void MON1_En (void)
 Enables MON1. More...
 
INLINE void MON1_Dis (void)
 Disables MON1. More...
 
INLINE uint8 MON2_Sts (void)
 Reads MON2 Status. More...
 
INLINE void MON2_PullUp_En (void)
 Enables PullUp for MON2. More...
 
INLINE void MON2_PullUp_Dis (void)
 Disables PullUp for MON2. More...
 
INLINE void MON2_PullDown_En (void)
 Enables PullDown for MON2. More...
 
INLINE void MON2_PullDown_Dis (void)
 Disables PullDown for MON2. More...
 
INLINE void MON2_CycSense_En (void)
 Enables Cycle Sense for MON2. More...
 
INLINE void MON2_CycSense_Dis (void)
 Disables Cycle Sense for MON2. More...
 
INLINE void MON2_WakeOnRise_En (void)
 Enables Wake-up on Rising Edge for MON2. More...
 
INLINE void MON2_WakeOnRise_Dis (void)
 Disables Wake-up on Rising Edge for MON2. More...
 
INLINE void MON2_WakeOnFall_En (void)
 Enables Wake-up on Falling Edge for MON2. More...
 
INLINE void MON2_WakeOnFall_Dis (void)
 Disables Wake-up on Falling Edge for MON2. More...
 
INLINE void MON2_En (void)
 Enables MON2. More...
 
INLINE void MON2_Dis (void)
 Disables MON2. More...
 
INLINE uint8 MON3_Sts (void)
 Reads MON3 Status. More...
 
INLINE void MON3_PullUp_En (void)
 Enables PullUp for MON3. More...
 
INLINE void MON3_PullUp_Dis (void)
 Disables PullUp for MON3. More...
 
INLINE void MON3_PullDown_En (void)
 Enables PullDown for MON3. More...
 
INLINE void MON3_PullDown_Dis (void)
 Disables PullDown for MON3. More...
 
INLINE void MON3_CycSense_En (void)
 Enables Cycle Sense for MON3. More...
 
INLINE void MON3_CycSense_Dis (void)
 Disables Cycle Sense for MON3. More...
 
INLINE void MON3_WakeOnRise_En (void)
 Enables Wake-up on Rising Edge for MON3. More...
 
INLINE void MON3_WakeOnRise_Dis (void)
 Disables Wake-up on Rising Edge for MON3. More...
 
INLINE void MON3_WakeOnFall_En (void)
 Enables Wake-up on Falling Edge for MON3. More...
 
INLINE void MON3_WakeOnFall_Dis (void)
 Disables Wake-up on Falling Edge for MON3. More...
 
INLINE void MON3_En (void)
 Enables MON3. More...
 
INLINE void MON3_Dis (void)
 Disables MON3. More...
 
INLINE uint8 MON4_Sts (void)
 Reads MON4 Status. More...
 
INLINE void MON4_PullUp_En (void)
 Enables PullUp for MON4. More...
 
INLINE void MON4_PullUp_Dis (void)
 Disables PullUp for MON4. More...
 
INLINE void MON4_PullDown_En (void)
 Enables PullDown for MON4. More...
 
INLINE void MON4_PullDown_Dis (void)
 Disables PullDown for MON4. More...
 
INLINE void MON4_CycSense_En (void)
 Enables Cycle Sense for MON4. More...
 
INLINE void MON4_CycSense_Dis (void)
 Disables Cycle Sense for MON4. More...
 
INLINE void MON4_WakeOnRise_En (void)
 Enables Wake-up on Rising Edge for MON4. More...
 
INLINE void MON4_WakeOnRise_Dis (void)
 Disables Wake-up on Rising Edge for MON4. More...
 
INLINE void MON4_WakeOnFall_En (void)
 Enables Wake-up on Falling Edge for MON4. More...
 
INLINE void MON4_WakeOnFall_Dis (void)
 Disables Wake-up on Falling Edge for MON4. More...
 
INLINE void MON4_En (void)
 Enables MON4. More...
 
INLINE void MON4_Dis (void)
 Disables MON4. More...
 
INLINE void MON1_Int_En (void)
 Enables MON1 interrupt. More...
 
INLINE void MON2_Int_En (void)
 Enables MON2 interrupt. More...
 
INLINE void MON3_Int_En (void)
 Enables MON3 interrupt. More...
 
INLINE void MON4_Int_En (void)
 Enables MON4 interrupt. More...
 
INLINE void MON1_Int_Dis (void)
 Disables MON1 interrupt. More...
 
INLINE void MON2_Int_Dis (void)
 Disables MON2 interrupt. More...
 
INLINE void MON3_Int_Dis (void)
 Disables MON3 interrupt. More...
 
INLINE void MON4_Int_Dis (void)
 Disables MON4 interrupt. More...
 

Macro Definition Documentation

◆ MON1_STATUS_HIGH

#define MON1_STATUS_HIGH   (1U)

MONx Status Flag mask, MON1 HIGH STATUS.

◆ MON1_STATUS_LOW

#define MON1_STATUS_LOW   (0U)

MONx Status Flag mask, MON1 LOW STATUS.

◆ MON2_STATUS_HIGH

#define MON2_STATUS_HIGH   (1U)

MONx Status Flag mask, MON2 HIGH STATUS.

◆ MON2_STATUS_LOW

#define MON2_STATUS_LOW   (0U)

MONx Status Flag mask, MON2 LOW STATUS.

◆ MON3_STATUS_HIGH

#define MON3_STATUS_HIGH   (1U)

MONx Status Flag mask, MON3 HIGH STATUS.

◆ MON3_STATUS_LOW

#define MON3_STATUS_LOW   (0U)

MONx Status Flag mask, MON3 LOW STATUS.

◆ MON4_STATUS_HIGH

#define MON4_STATUS_HIGH   (1U)

MONx Status Flag mask, MON4 HIGH STATUS.

◆ MON4_STATUS_LOW

#define MON4_STATUS_LOW   (0U)

MONx Status Flag mask, MON4 LOW STATUS.

◆ SCU_EXICON1_MON1_FE_Msk

#define SCU_EXICON1_MON1_FE_Msk   (0x02UL)

External Interrupt MON1 Falling Edge Bit Mask.

◆ SCU_EXICON1_MON1_FE_Pos

#define SCU_EXICON1_MON1_FE_Pos   (1UL)

External Interrupt MON1 Falling Edge Bit Position.

◆ SCU_EXICON1_MON1_RE_Msk

#define SCU_EXICON1_MON1_RE_Msk   (0x01UL)

External Interrupt MON1 Rising Edge Bit Mask.

◆ SCU_EXICON1_MON1_RE_Pos

#define SCU_EXICON1_MON1_RE_Pos   (0UL)

External Interrupt MON1 Rising Edge Bit Position.

◆ SCU_EXICON1_MON2_FE_Msk

#define SCU_EXICON1_MON2_FE_Msk   (0x08UL)

External Interrupt MON2 Falling Edge Bit Mask.

◆ SCU_EXICON1_MON2_FE_Pos

#define SCU_EXICON1_MON2_FE_Pos   (3UL)

External Interrupt MON2 Falling Edge Bit Position.

◆ SCU_EXICON1_MON2_RE_Msk

#define SCU_EXICON1_MON2_RE_Msk   (0x04UL)

External Interrupt MON2 Rising Edge Bit Mask.

◆ SCU_EXICON1_MON2_RE_Pos

#define SCU_EXICON1_MON2_RE_Pos   (2UL)

External Interrupt MON2 Rising Edge Bit Position.

◆ SCU_EXICON1_MON3_FE_Msk

#define SCU_EXICON1_MON3_FE_Msk   (0x20UL)

External Interrupt MON3 Falling Edge Bit Mask.

◆ SCU_EXICON1_MON3_FE_Pos

#define SCU_EXICON1_MON3_FE_Pos   (5UL)

External Interrupt MON3 Falling Edge Bit Position.

◆ SCU_EXICON1_MON3_RE_Msk

#define SCU_EXICON1_MON3_RE_Msk   (0x10UL)

External Interrupt MON3 Rising Edge Bit Mask.

◆ SCU_EXICON1_MON3_RE_Pos

#define SCU_EXICON1_MON3_RE_Pos   (4UL)

External Interrupt MON3 Rising Edge Bit Position.

◆ SCU_EXICON1_MON4_FE_Msk

#define SCU_EXICON1_MON4_FE_Msk   (0x80UL)

External Interrupt MON4 Falling Edge Bit Mask.

◆ SCU_EXICON1_MON4_FE_Pos

#define SCU_EXICON1_MON4_FE_Pos   (7UL)

External Interrupt MON4 Falling Edge Bit Position.

◆ SCU_EXICON1_MON4_RE_Msk

#define SCU_EXICON1_MON4_RE_Msk   (0x40UL)

External Interrupt MON4 Rising Edge Bit Mask.

◆ SCU_EXICON1_MON4_RE_Pos

#define SCU_EXICON1_MON4_RE_Pos   (6UL)

External Interrupt MON4 Rising Edge Bit Position.

Function Documentation

◆ MON1_CycSense_Dis()

INLINE void MON1_CycSense_Dis ( void  )

Disables Cycle Sense for MON1.

Example

This example disables Cycle Sense for MON1.

void Example_Function(void)
{
MON1_En();
}
INLINE void MON1_En(void)
Enables MON1.
Definition: mon.h:1794
INLINE void MON1_CycSense_Dis(void)
Disables Cycle Sense for MON1.
Definition: mon.h:1769

◆ MON1_CycSense_En()

INLINE void MON1_CycSense_En ( void  )

Enables Cycle Sense for MON1.

Example

This example enables Cycle Sense for MON1.

void Example_Function(void)
{
MON1_En();
}
INLINE void MON1_CycSense_En(void)
Enables Cycle Sense for MON1.
Definition: mon.h:1764

◆ MON1_Dis()

INLINE void MON1_Dis ( void  )

Disables MON1.

Example

This example disables MON1.

void Example_Function(void)
{
}
INLINE void MON1_Dis(void)
Disables MON1.
Definition: mon.h:1799

◆ MON1_En()

INLINE void MON1_En ( void  )

Enables MON1.

Example

This example enables Wake-up on Falling Edge for MON1.

void Example_Function(void)
{
MON1_En();
}
INLINE void MON1_WakeOnFall_En(void)
Enables Wake-up on Falling Edge for MON1.
Definition: mon.h:1784

◆ MON1_Falling_Edge_Int_Clr()

INLINE void MON1_Falling_Edge_Int_Clr ( void  )

Clears MON1 on falling edge interrupt flag.

Example

This example treats the MON1 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON1F == (uint8)1)
{
MON1_FALLING_CALLBACK();
}
}
#define SCU
Definition: tle985x.h:6277
INLINE void MON1_Falling_Edge_Int_En(void)
Enables MON1 on falling edge interrupt.
Definition: mon.h:1669
INLINE void MON1_Falling_Edge_Int_Clr(void)
Clears MON1 on falling edge interrupt flag.
Definition: mon.h:1624
INLINE void MON1_Int_En(void)
Enables MON1 interrupt.
Definition: mon.h:1999
uint8_t uint8
8 bit unsigned value
Definition: types.h:153

◆ MON1_Falling_Edge_Int_Dis()

INLINE void MON1_Falling_Edge_Int_Dis ( void  )

Disables MON1 on falling edge interrupt.

Example

This example treats the MON1 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON1F == (uint8)1)
{
MON1_FALLING_CALLBACK();
}
}
INLINE void MON1_Falling_Edge_Int_Dis(void)
Disables MON1 on falling edge interrupt.
Definition: mon.h:1674

◆ MON1_Falling_Edge_Int_En()

INLINE void MON1_Falling_Edge_Int_En ( void  )

Enables MON1 on falling edge interrupt.

Example

This example treats the MON1 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON1F == (uint8)1)
{
MON1_FALLING_CALLBACK();
}
}

◆ MON1_Int_Dis()

INLINE void MON1_Int_Dis ( void  )

Disables MON1 interrupt.

Example

This example treats the MON1 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON1R == (uint8)1)
{
MON1_RISING_CALLBACK();
}
}
INLINE void MON1_Rising_Edge_Int_Clr(void)
Clears MON1 on rising edge interrupt flag.
Definition: mon.h:1619
INLINE void MON1_Rising_Edge_Int_En(void)
Enables MON1 on rising edge interrupt.
Definition: mon.h:1659
INLINE void MON1_Int_Dis(void)
Disables MON1 interrupt.
Definition: mon.h:2019

◆ MON1_Int_En()

INLINE void MON1_Int_En ( void  )

Enables MON1 interrupt.

Example

This example treats the MON1 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON1R == (uint8)1)
{
MON1_RISING_CALLBACK();
}
}

◆ MON1_PullDown_Dis()

INLINE void MON1_PullDown_Dis ( void  )

Disables PullDown for MON1.

Example

This example disables PullDown for MON1.

void Example_Function(void)
{
MON1_En();
}
INLINE void MON1_PullDown_Dis(void)
Disables PullDown for MON1.
Definition: mon.h:1759

◆ MON1_PullDown_En()

INLINE void MON1_PullDown_En ( void  )

Enables PullDown for MON1.

Example

This example enables PullDown for MON1.

void Example_Function(void)
{
MON1_En();
}
INLINE void MON1_PullDown_En(void)
Enables PullDown for MON1.
Definition: mon.h:1754

◆ MON1_PullUp_Dis()

INLINE void MON1_PullUp_Dis ( void  )

Disables PullUp for MON1.

Example

This example disables PullUp for MON1.

void Example_Function(void)
{
MON1_En();
}
INLINE void MON1_PullUp_Dis(void)
Disables PullUp for MON1.
Definition: mon.h:1749

◆ MON1_PullUp_En()

INLINE void MON1_PullUp_En ( void  )

Enables PullUp for MON1.

Example

This example enables PullUp for MON1.

void Example_Function(void)
{
MON1_En();
}
INLINE void MON1_PullUp_En(void)
Enables PullUp for MON1.
Definition: mon.h:1744

◆ MON1_Rising_Edge_Int_Clr()

INLINE void MON1_Rising_Edge_Int_Clr ( void  )

Clears MON1 on rising edge interrupt flag.

Example

This example treats the MON1 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON1R == (uint8)1)
{
MON1_RISING_CALLBACK();
}
}

◆ MON1_Rising_Edge_Int_Dis()

INLINE void MON1_Rising_Edge_Int_Dis ( void  )

Disables MON1 on rising edge interrupt.

Example

This example treats the MON1 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON1R == (uint8)1)
{
MON1_RISING_CALLBACK();
}
}
INLINE void MON1_Rising_Edge_Int_Dis(void)
Disables MON1 on rising edge interrupt.
Definition: mon.h:1664

◆ MON1_Rising_Edge_Int_En()

INLINE void MON1_Rising_Edge_Int_En ( void  )

Enables MON1 on rising edge interrupt.

Example

This example treats the MON1 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON1R == (uint8)1)
{
MON1_RISING_CALLBACK();
}
}

◆ MON1_Sts()

INLINE uint8 MON1_Sts ( void  )

Reads MON1 Status.

Returns
MON1 Status

Example

This example reads MON1 Status.

void Example_Function(void)
{
uint8 status;
status = MON1_Sts();
}
INLINE uint8 MON1_Sts(void)
Reads MON1 Status.
Definition: mon.h:1739

◆ MON1_WakeOnFall_Dis()

INLINE void MON1_WakeOnFall_Dis ( void  )

Disables Wake-up on Falling Edge for MON1.

Example

This example disables Wake-up on Falling Edge for MON1.

void Example_Function(void)
{
MON1_En();
}
INLINE void MON1_WakeOnFall_Dis(void)
Disables Wake-up on Falling Edge for MON1.
Definition: mon.h:1789

◆ MON1_WakeOnFall_En()

INLINE void MON1_WakeOnFall_En ( void  )

Enables Wake-up on Falling Edge for MON1.

Example

This example enables Wake-up on Falling Edge for MON1.

void Example_Function(void)
{
MON1_En();
}

◆ MON1_WakeOnRise_Dis()

INLINE void MON1_WakeOnRise_Dis ( void  )

Disables Wake-up on Rising Edge for MON1.

Example

This example disables Wake-up on Rising Edge for MON1.

void Example_Function(void)
{
MON1_En();
}
INLINE void MON1_WakeOnRise_Dis(void)
Disables Wake-up on Rising Edge for MON1.
Definition: mon.h:1779

◆ MON1_WakeOnRise_En()

INLINE void MON1_WakeOnRise_En ( void  )

Enables Wake-up on Rising Edge for MON1.

Example

This example enables Wake-up on Rising Edge for MON1.

void Example_Function(void)
{
MON1_En();
}
INLINE void MON1_WakeOnRise_En(void)
Enables Wake-up on Rising Edge for MON1.
Definition: mon.h:1774

◆ MON2_CycSense_Dis()

INLINE void MON2_CycSense_Dis ( void  )

Disables Cycle Sense for MON2.

Example

This example disables Cycle Sense for MON2.

void Example_Function(void)
{
MON2_En();
}
INLINE void MON2_En(void)
Enables MON2.
Definition: mon.h:1859
INLINE void MON2_CycSense_Dis(void)
Disables Cycle Sense for MON2.
Definition: mon.h:1834

◆ MON2_CycSense_En()

INLINE void MON2_CycSense_En ( void  )

Enables Cycle Sense for MON2.

Example

This example enables Cycle Sense for MON2.

void Example_Function(void)
{
MON2_En();
}
INLINE void MON2_CycSense_En(void)
Enables Cycle Sense for MON2.
Definition: mon.h:1829

◆ MON2_Dis()

INLINE void MON2_Dis ( void  )

Disables MON2.

Example

This example disables MON2.

void Example_Function(void)
{
}
INLINE void MON2_Dis(void)
Disables MON2.
Definition: mon.h:1864

◆ MON2_En()

INLINE void MON2_En ( void  )

Enables MON2.

Example

This example enables PullUp for MON2.

void Example_Function(void)
{
MON2_En();
}
INLINE void MON2_PullUp_En(void)
Enables PullUp for MON2.
Definition: mon.h:1809

◆ MON2_Falling_Edge_Int_Clr()

INLINE void MON2_Falling_Edge_Int_Clr ( void  )

Clears MON2 on falling edge interrupt flag.

Example

This example treats the MON2 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON2F == (uint8)1)
{
MON2_FALLING_CALLBACK();
}
}
INLINE void MON2_Falling_Edge_Int_Clr(void)
Clears MON2 on falling edge interrupt flag.
Definition: mon.h:1634
INLINE void MON2_Int_En(void)
Enables MON2 interrupt.
Definition: mon.h:2004
INLINE void MON2_Falling_Edge_Int_En(void)
Enables MON2 on falling edge interrupt.
Definition: mon.h:1689

◆ MON2_Falling_Edge_Int_Dis()

INLINE void MON2_Falling_Edge_Int_Dis ( void  )

Disables MON2 on falling edge interrupt.

Example

This example treats the MON2 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON2F == (uint8)1)
{
MON2_FALLING_CALLBACK();
}
}
INLINE void MON2_Falling_Edge_Int_Dis(void)
Disables MON2 on falling edge interrupt.
Definition: mon.h:1694

◆ MON2_Falling_Edge_Int_En()

INLINE void MON2_Falling_Edge_Int_En ( void  )

Enables MON2 on falling edge interrupt.

Example

This example treats the MON2 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON2F == (uint8)1)
{
MON2_FALLING_CALLBACK();
}
}

◆ MON2_Int_Dis()

INLINE void MON2_Int_Dis ( void  )

Disables MON2 interrupt.

Example

This example treats the MON2 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON2R == (uint8)1)
{
MON2_RISING_CALLBACK();
}
}
INLINE void MON2_Rising_Edge_Int_Clr(void)
Clears MON2 on rising edge interrupt flag.
Definition: mon.h:1629
INLINE void MON2_Rising_Edge_Int_En(void)
Enables MON2 on rising edge interrupt.
Definition: mon.h:1679
INLINE void MON2_Int_Dis(void)
Disables MON2 interrupt.
Definition: mon.h:2024

◆ MON2_Int_En()

INLINE void MON2_Int_En ( void  )

Enables MON2 interrupt.

Example

This example treats the MON2 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON2R == (uint8)1)
{
MON2_RISING_CALLBACK();
}
}

◆ MON2_PullDown_Dis()

INLINE void MON2_PullDown_Dis ( void  )

Disables PullDown for MON2.

Example

This example disables PullDown for MON2.

void Example_Function(void)
{
MON2_En();
}
INLINE void MON2_PullDown_Dis(void)
Disables PullDown for MON2.
Definition: mon.h:1824

◆ MON2_PullDown_En()

INLINE void MON2_PullDown_En ( void  )

Enables PullDown for MON2.

Example

This example enables PullDown for MON2.

void Example_Function(void)
{
MON2_En();
}
INLINE void MON2_PullDown_En(void)
Enables PullDown for MON2.
Definition: mon.h:1819

◆ MON2_PullUp_Dis()

INLINE void MON2_PullUp_Dis ( void  )

Disables PullUp for MON2.

Example

This example disables PullUp for MON2.

void Example_Function(void)
{
MON2_En();
}
INLINE void MON2_PullUp_Dis(void)
Disables PullUp for MON2.
Definition: mon.h:1814

◆ MON2_PullUp_En()

INLINE void MON2_PullUp_En ( void  )

Enables PullUp for MON2.

Example

This example enables PullUp for MON2.

void Example_Function(void)
{
MON2_En();
}

◆ MON2_Rising_Edge_Int_Clr()

INLINE void MON2_Rising_Edge_Int_Clr ( void  )

Clears MON2 on rising edge interrupt flag.

Example

This example treats the MON2 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON2R == (uint8)1)
{
MON2_RISING_CALLBACK();
}
}

◆ MON2_Rising_Edge_Int_Dis()

INLINE void MON2_Rising_Edge_Int_Dis ( void  )

Disables MON2 on rising edge interrupt.

Example

This example treats the MON2 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON2R == (uint8)1)
{
MON2_RISING_CALLBACK();
}
}
INLINE void MON2_Rising_Edge_Int_Dis(void)
Disables MON2 on rising edge interrupt.
Definition: mon.h:1684

◆ MON2_Rising_Edge_Int_En()

INLINE void MON2_Rising_Edge_Int_En ( void  )

Enables MON2 on rising edge interrupt.

Example

This example treats the MON2 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON2R == (uint8)1)
{
MON2_RISING_CALLBACK();
}
}

◆ MON2_Sts()

INLINE uint8 MON2_Sts ( void  )

Reads MON2 Status.

Returns
MON2 Status

Example

This example reads MON2 Status.

void Example_Function(void)
{
uint8 status;
status = MON2_Sts();
}
INLINE uint8 MON2_Sts(void)
Reads MON2 Status.
Definition: mon.h:1804

◆ MON2_WakeOnFall_Dis()

INLINE void MON2_WakeOnFall_Dis ( void  )

Disables Wake-up on Falling Edge for MON2.

Example

This example disables Wake-up on Falling Edge for MON2.

void Example_Function(void)
{
MON2_En();
}
INLINE void MON2_WakeOnFall_Dis(void)
Disables Wake-up on Falling Edge for MON2.
Definition: mon.h:1854

◆ MON2_WakeOnFall_En()

INLINE void MON2_WakeOnFall_En ( void  )

Enables Wake-up on Falling Edge for MON2.

Example

This example enables Wake-up on Falling Edge for MON2.

void Example_Function(void)
{
MON2_En();
}
INLINE void MON2_WakeOnFall_En(void)
Enables Wake-up on Falling Edge for MON2.
Definition: mon.h:1849

◆ MON2_WakeOnRise_Dis()

INLINE void MON2_WakeOnRise_Dis ( void  )

Disables Wake-up on Rising Edge for MON2.

Example

This example disables Wake-up on Rising Edge for MON2.

void Example_Function(void)
{
MON2_En();
}
INLINE void MON2_WakeOnRise_Dis(void)
Disables Wake-up on Rising Edge for MON2.
Definition: mon.h:1844

◆ MON2_WakeOnRise_En()

INLINE void MON2_WakeOnRise_En ( void  )

Enables Wake-up on Rising Edge for MON2.

Example

This example enables Wake-up on Rising Edge for MON2.

void Example_Function(void)
{
MON2_En();
}
INLINE void MON2_WakeOnRise_En(void)
Enables Wake-up on Rising Edge for MON2.
Definition: mon.h:1839

◆ MON3_CycSense_Dis()

INLINE void MON3_CycSense_Dis ( void  )

Disables Cycle Sense for MON3.

Example

This example disables Cycle Sense for MON3.

void Example_Function(void)
{
MON3_En();
}
INLINE void MON3_CycSense_Dis(void)
Disables Cycle Sense for MON3.
Definition: mon.h:1899
INLINE void MON3_En(void)
Enables MON3.
Definition: mon.h:1924

◆ MON3_CycSense_En()

INLINE void MON3_CycSense_En ( void  )

Enables Cycle Sense for MON3.

Example

This example enables Cycle Sense for MON3.

void Example_Function(void)
{
MON3_En();
}
INLINE void MON3_CycSense_En(void)
Enables Cycle Sense for MON3.
Definition: mon.h:1894

◆ MON3_Dis()

INLINE void MON3_Dis ( void  )

Disables MON3.

Example

This example disables MON3.

void Example_Function(void)
{
}
INLINE void MON3_Dis(void)
Disables MON3.
Definition: mon.h:1929

◆ MON3_En()

INLINE void MON3_En ( void  )

Enables MON3.

Example

This example enables Cycle Sense for MON3.

void Example_Function(void)
{
MON3_En();
}

◆ MON3_Falling_Edge_Int_Clr()

INLINE void MON3_Falling_Edge_Int_Clr ( void  )

Clears MON3 on falling edge interrupt flag.

Example

This example treats the MON3 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON3F == (uint8)1)
{
MON3_FALLING_CALLBACK();
}
}
INLINE void MON3_Falling_Edge_Int_En(void)
Enables MON3 on falling edge interrupt.
Definition: mon.h:1709
INLINE void MON3_Int_En(void)
Enables MON3 interrupt.
Definition: mon.h:2009
INLINE void MON3_Falling_Edge_Int_Clr(void)
Clears MON3 on falling edge interrupt flag.
Definition: mon.h:1644

◆ MON3_Falling_Edge_Int_Dis()

INLINE void MON3_Falling_Edge_Int_Dis ( void  )

Disables MON3 on falling edge interrupt.

Example

This example treats the MON3 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON3F == (uint8)1)
{
MON3_FALLING_CALLBACK();
}
}

◆ MON3_Falling_Edge_Int_En()

INLINE void MON3_Falling_Edge_Int_En ( void  )

Enables MON3 on falling edge interrupt.

Example

This example treats the MON3 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON3F == (uint8)1)
{
MON3_FALLING_CALLBACK();
}
}

◆ MON3_Int_Dis()

INLINE void MON3_Int_Dis ( void  )

Disables MON3 interrupt.

Example

This example treats the MON3 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON3R == (uint8)1)
{
MON3_RISING_CALLBACK();
}
}
INLINE void MON3_Rising_Edge_Int_En(void)
Enables MON3 on rising edge interrupt.
Definition: mon.h:1699
INLINE void MON3_Int_Dis(void)
Disables MON3 interrupt.
Definition: mon.h:2029
INLINE void MON3_Rising_Edge_Int_Clr(void)
Clears MON3 on rising edge interrupt flag.
Definition: mon.h:1639

◆ MON3_Int_En()

INLINE void MON3_Int_En ( void  )

Enables MON3 interrupt.

Example

This example treats the MON3 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON3R == (uint8)1)
{
MON3_RISING_CALLBACK();
}
}

◆ MON3_PullDown_Dis()

INLINE void MON3_PullDown_Dis ( void  )

Disables PullDown for MON3.

Example

This example disables PullDown for MON3.

void Example_Function(void)
{
MON3_En();
}
INLINE void MON3_PullDown_Dis(void)
Disables PullDown for MON3.
Definition: mon.h:1889

◆ MON3_PullDown_En()

INLINE void MON3_PullDown_En ( void  )

Enables PullDown for MON3.

Example

This example enables PullDown for MON3.

void Example_Function(void)
{
MON3_En();
}
INLINE void MON3_PullDown_En(void)
Enables PullDown for MON3.
Definition: mon.h:1884

◆ MON3_PullUp_Dis()

INLINE void MON3_PullUp_Dis ( void  )

Disables PullUp for MON3.

Example

This example disables PullUp for MON3.

void Example_Function(void)
{
MON3_En();
}
INLINE void MON3_PullUp_Dis(void)
Disables PullUp for MON3.
Definition: mon.h:1879

◆ MON3_PullUp_En()

INLINE void MON3_PullUp_En ( void  )

Enables PullUp for MON3.

Example

This example enables PullUp for MON3.

void Example_Function(void)
{
MON3_En();
}
INLINE void MON3_PullUp_En(void)
Enables PullUp for MON3.
Definition: mon.h:1874

◆ MON3_Rising_Edge_Int_Clr()

INLINE void MON3_Rising_Edge_Int_Clr ( void  )

Clears MON3 on rising edge interrupt flag.

Example

This example treats the MON3 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON3R == (uint8)1)
{
MON3_RISING_CALLBACK();
}
}

◆ MON3_Rising_Edge_Int_Dis()

INLINE void MON3_Rising_Edge_Int_Dis ( void  )

Disables MON3 on rising edge interrupt.

Example

This example treats the MON3 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON3R == (uint8)1)
{
MON3_RISING_CALLBACK();
}
}
INLINE void MON3_Rising_Edge_Int_Dis(void)
Disables MON3 on rising edge interrupt.
Definition: mon.h:1704

◆ MON3_Rising_Edge_Int_En()

INLINE void MON3_Rising_Edge_Int_En ( void  )

Enables MON3 on rising edge interrupt.

Example

This example treats the MON3 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON3R == (uint8)1)
{
MON3_RISING_CALLBACK();
}
}

◆ MON3_Sts()

INLINE uint8 MON3_Sts ( void  )

Reads MON3 Status.

Returns
MON3 Status

Example

This example reads MON3 Status.

void Example_Function(void)
{
uint8 status;
status = MON3_Sts();
}
INLINE uint8 MON3_Sts(void)
Reads MON3 Status.
Definition: mon.h:1869

◆ MON3_WakeOnFall_Dis()

INLINE void MON3_WakeOnFall_Dis ( void  )

Disables Wake-up on Falling Edge for MON3.

Example

This example disables Wake-up on Falling Edge for MON3.

void Example_Function(void)
{
MON3_En();
}
INLINE void MON3_WakeOnFall_Dis(void)
Disables Wake-up on Falling Edge for MON3.
Definition: mon.h:1919

◆ MON3_WakeOnFall_En()

INLINE void MON3_WakeOnFall_En ( void  )

Enables Wake-up on Falling Edge for MON3.

Example

This example enables Wake-up on Falling Edge for MON3.

void Example_Function(void)
{
MON3_En();
}
INLINE void MON3_WakeOnFall_En(void)
Enables Wake-up on Falling Edge for MON3.
Definition: mon.h:1914

◆ MON3_WakeOnRise_Dis()

INLINE void MON3_WakeOnRise_Dis ( void  )

Disables Wake-up on Rising Edge for MON3.

Example

This example disables Wake-up on Rising Edge for MON3.

void Example_Function(void)
{
MON3_En();
}
INLINE void MON3_WakeOnRise_Dis(void)
Disables Wake-up on Rising Edge for MON3.
Definition: mon.h:1909

◆ MON3_WakeOnRise_En()

INLINE void MON3_WakeOnRise_En ( void  )

Enables Wake-up on Rising Edge for MON3.

Example

This example enables Wake-up on Rising Edge for MON3.

void Example_Function(void)
{
MON3_En();
}
INLINE void MON3_WakeOnRise_En(void)
Enables Wake-up on Rising Edge for MON3.
Definition: mon.h:1904

◆ MON4_CycSense_Dis()

INLINE void MON4_CycSense_Dis ( void  )

Disables Cycle Sense for MON4.

Example

This example disables Cycle Sense for MON4.

void Example_Function(void)
{
MON4_En();
}
INLINE void MON4_En(void)
Enables MON4.
Definition: mon.h:1989
INLINE void MON4_CycSense_Dis(void)
Disables Cycle Sense for MON4.
Definition: mon.h:1964

◆ MON4_CycSense_En()

INLINE void MON4_CycSense_En ( void  )

Enables Cycle Sense for MON4.

Example

This example enables Cycle Sense for MON4.

void Example_Function(void)
{
MON4_En();
}
INLINE void MON4_CycSense_En(void)
Enables Cycle Sense for MON4.
Definition: mon.h:1959

◆ MON4_Dis()

INLINE void MON4_Dis ( void  )

Disables MON4.

Example

This example disables MON4.

void Example_Function(void)
{
}
INLINE void MON4_Dis(void)
Disables MON4.
Definition: mon.h:1994

◆ MON4_En()

INLINE void MON4_En ( void  )

Enables MON4.

Example

This example enables PullDown for MON4.

void Example_Function(void)
{
MON4_En();
}
INLINE void MON4_PullDown_En(void)
Enables PullDown for MON4.
Definition: mon.h:1949

◆ MON4_Falling_Edge_Int_Clr()

INLINE void MON4_Falling_Edge_Int_Clr ( void  )

Clears MON4 on falling edge interrupt flag.

Example

This example treats the MON4 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON4F == (uint8)1)
{
MON4_FALLING_CALLBACK();
}
}
INLINE void MON4_Falling_Edge_Int_En(void)
Enables MON4 on falling edge interrupt.
Definition: mon.h:1729
INLINE void MON4_Int_En(void)
Enables MON4 interrupt.
Definition: mon.h:2014
INLINE void MON4_Falling_Edge_Int_Clr(void)
Clears MON4 on falling edge interrupt flag.
Definition: mon.h:1654

◆ MON4_Falling_Edge_Int_Dis()

INLINE void MON4_Falling_Edge_Int_Dis ( void  )

Disables MON4 on falling edge interrupt.

Example

This example treats the MON4 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON4F == (uint8)1)
{
MON4_FALLING_CALLBACK();
}
}
INLINE void MON4_Falling_Edge_Int_Dis(void)
Disables MON4 on falling edge interrupt.
Definition: mon.h:1734

◆ MON4_Falling_Edge_Int_En()

INLINE void MON4_Falling_Edge_Int_En ( void  )

Enables MON4 on falling edge interrupt.

Example

This example treats the MON4 on falling edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON4F == (uint8)1)
{
MON4_FALLING_CALLBACK();
}
}

◆ MON4_Int_Dis()

INLINE void MON4_Int_Dis ( void  )

Disables MON4 interrupt.

Example

This example treats the MON4 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON4R == (uint8)1)
{
MON4_RISING_CALLBACK();
}
}
INLINE void MON4_Int_Dis(void)
Disables MON4 interrupt.
Definition: mon.h:2034
INLINE void MON4_Rising_Edge_Int_En(void)
Enables MON4 on rising edge interrupt.
Definition: mon.h:1719
INLINE void MON4_Rising_Edge_Int_Clr(void)
Clears MON4 on rising edge interrupt flag.
Definition: mon.h:1649

◆ MON4_Int_En()

INLINE void MON4_Int_En ( void  )

Enables MON4 interrupt.

Example

This example treats the MON4 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON4R == (uint8)1)
{
MON4_RISING_CALLBACK();
}
}

◆ MON4_PullDown_Dis()

INLINE void MON4_PullDown_Dis ( void  )

Disables PullDown for MON4.

Example

This example disables PullDown for MON4.

void Example_Function(void)
{
MON4_En();
}
INLINE void MON4_PullDown_Dis(void)
Disables PullDown for MON4.
Definition: mon.h:1954

◆ MON4_PullDown_En()

INLINE void MON4_PullDown_En ( void  )

Enables PullDown for MON4.

Example

This example enables PullDown for MON4.

void Example_Function(void)
{
MON4_En();
}

◆ MON4_PullUp_Dis()

INLINE void MON4_PullUp_Dis ( void  )

Disables PullUp for MON4.

Example

This example disables PullUp for MON4.

void Example_Function(void)
{
MON4_En();
}
INLINE void MON4_PullUp_Dis(void)
Disables PullUp for MON4.
Definition: mon.h:1944

◆ MON4_PullUp_En()

INLINE void MON4_PullUp_En ( void  )

Enables PullUp for MON4.

Example

This example enables PullUp for MON4.

void Example_Function(void)
{
MON4_En();
}
INLINE void MON4_PullUp_En(void)
Enables PullUp for MON4.
Definition: mon.h:1939

◆ MON4_Rising_Edge_Int_Clr()

INLINE void MON4_Rising_Edge_Int_Clr ( void  )

Clears MON4 on rising edge interrupt flag.

Example

This example treats the MON4 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON4R == (uint8)1)
{
MON4_RISING_CALLBACK();
}
}

◆ MON4_Rising_Edge_Int_Dis()

INLINE void MON4_Rising_Edge_Int_Dis ( void  )

Disables MON4 on rising edge interrupt.

Example

This example treats the MON4 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON4R == (uint8)1)
{
MON4_RISING_CALLBACK();
}
}
INLINE void MON4_Rising_Edge_Int_Dis(void)
Disables MON4 on rising edge interrupt.
Definition: mon.h:1724

◆ MON4_Rising_Edge_Int_En()

INLINE void MON4_Rising_Edge_Int_En ( void  )

Enables MON4 on rising edge interrupt.

Example

This example treats the MON4 on rising edge interrupt.

void Example_Function(void)
{
if ((uint8)SCU->IRCON1.bit.MON4R == (uint8)1)
{
MON4_RISING_CALLBACK();
}
}

◆ MON4_Sts()

INLINE uint8 MON4_Sts ( void  )

Reads MON4 Status.

Returns
MON4 Status

Example

This example reads MON4 Status.

void Example_Function(void)
{
uint8 status;
status = MON4_Sts();
}
INLINE uint8 MON4_Sts(void)
Reads MON4 Status.
Definition: mon.h:1934

◆ MON4_WakeOnFall_Dis()

INLINE void MON4_WakeOnFall_Dis ( void  )

Disables Wake-up on Falling Edge for MON4.

Example

This example disables Wake-up on Falling Edge for MON4.

void Example_Function(void)
{
MON4_En();
}
INLINE void MON4_WakeOnFall_Dis(void)
Disables Wake-up on Falling Edge for MON4.
Definition: mon.h:1984

◆ MON4_WakeOnFall_En()

INLINE void MON4_WakeOnFall_En ( void  )

Enables Wake-up on Falling Edge for MON4.

Example

This example enables Wake-up on Falling Edge for MON4.

void Example_Function(void)
{
MON4_En();
}
INLINE void MON4_WakeOnFall_En(void)
Enables Wake-up on Falling Edge for MON4.
Definition: mon.h:1979

◆ MON4_WakeOnRise_Dis()

INLINE void MON4_WakeOnRise_Dis ( void  )

Disables Wake-up on Rising Edge for MON4.

Example

This example disables Wake-up on Rising Edge for MON4.

void Example_Function(void)
{
MON4_En();
}
INLINE void MON4_WakeOnRise_Dis(void)
Disables Wake-up on Rising Edge for MON4.
Definition: mon.h:1974

◆ MON4_WakeOnRise_En()

INLINE void MON4_WakeOnRise_En ( void  )

Enables Wake-up on Rising Edge for MON4.

Example

This example enables Wake-up on Rising Edge for MON4.

void Example_Function(void)
{
MON4_En();
}
INLINE void MON4_WakeOnRise_En(void)
Enables Wake-up on Rising Edge for MON4.
Definition: mon.h:1969

◆ MONx_Debounce()

uint8 MONx_Debounce ( uint8  Monx,
uint8  MonActiveState 
)

Debounces the MONx input and reads the logical input value.

Parameters
MonxMONx status flag
MonActiveStateExpected active state of the MONx input
Returns
Active State after debouncing MONx

Example

This example Debounces the MON2 input to Low Level and reads the logical input value.

void Example_Function(void)
{
uint8 stat;
stat = MONx_Debounce(2u,0u);
}
uint8 MONx_Debounce(uint8 Monx, uint8 MonActiveState)
Debounces the MONx input and reads the logical input value.

◆ MONx_Get_Status()

uint8 MONx_Get_Status ( uint8  Monx)

Reads out the MONx Status.

Parameters
MonxMONx status flag

Example

This example reads MON4 Status.

void Example_Function(void)
{
uint8 status;
status = MONx_Get_Status(4u);
}
uint8 MONx_Get_Status(uint8 Monx)
Reads out the MONx Status.

◆ MONx_Init()

void MONx_Init ( void  )

Initializes the MONx module.