G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
g32r4xx_ddl_eint.h File Reference

Header file of EINT DDL module. More...

#include "g32r4xx.h"

Go to the source code of this file.

Data Structures

struct  DDL_EINT_InitTypeDef

Macros

#define DDL_EINT_LINE_0   EINT_IMASK_IM0
#define DDL_EINT_LINE_1   EINT_IMASK_IM1
#define DDL_EINT_LINE_2   EINT_IMASK_IM2
#define DDL_EINT_LINE_3   EINT_IMASK_IM3
#define DDL_EINT_LINE_4   EINT_IMASK_IM4
#define DDL_EINT_LINE_5   EINT_IMASK_IM5
#define DDL_EINT_LINE_6   EINT_IMASK_IM6
#define DDL_EINT_LINE_7   EINT_IMASK_IM7
#define DDL_EINT_LINE_8   EINT_IMASK_IM8
#define DDL_EINT_LINE_9   EINT_IMASK_IM9
#define DDL_EINT_LINE_10   EINT_IMASK_IM10
#define DDL_EINT_LINE_11   EINT_IMASK_IM11
#define DDL_EINT_LINE_12   EINT_IMASK_IM12
#define DDL_EINT_LINE_13   EINT_IMASK_IM13
#define DDL_EINT_LINE_14   EINT_IMASK_IM14
#define DDL_EINT_LINE_15   EINT_IMASK_IM15
#define DDL_EINT_LINE_16   EINT_IMASK_IM16
#define DDL_EINT_LINE_17   EINT_IMASK_IM17
#define DDL_EINT_LINE_18   EINT_IMASK_IM18
#define DDL_EINT_LINE_19   EINT_IMASK_IM19
#define DDL_EINT_LINE_20   EINT_IMASK_IM20
#define DDL_EINT_LINE_21   EINT_IMASK_IM21
#define DDL_EINT_LINE_22   EINT_IMASK_IM22
#define DDL_EINT_LINE_23   EINT_IMASK_IM23
#define DDL_EINT_LINE_24   EINT_IMASK_IM24
#define DDL_EINT_LINE_25   EINT_IMASK_IM25
#define DDL_EINT_LINE_26   EINT_IMASK_IM26
#define DDL_EINT_LINE_27   EINT_IMASK_IM27
#define DDL_EINT_LINE_28   EINT_IMASK_IM28
#define DDL_EINT_LINE_29   EINT_IMASK_IM29
#define DDL_EINT_LINE_30   EINT_IMASK_IM30
#define DDL_EINT_LINE_31   EINT_IMASK_IM31
#define DDL_EINT_LINE_ALL   EINT_IMASK_IM
#define DDL_EINT_LINE_NONE   ((uint32_t)0x00000000U)
#define DDL_EINT_MODE_IT   ((uint8_t)0x00U)
#define DDL_EINT_MODE_EVENT   ((uint8_t)0x01U)
#define DDL_EINT_MODE_IT_EVENT   ((uint8_t)0x02U)
#define DDL_EINT_TRIGGER_NONE   ((uint8_t)0x00U)
#define DDL_EINT_TRIGGER_RISING   ((uint8_t)0x01U)
#define DDL_EINT_TRIGGER_FALLING   ((uint8_t)0x02U)
#define DDL_EINT_TRIGGER_RISING_FALLING   ((uint8_t)0x03U)
#define DDL_EINT_LINE_SOURCE_GPIOA   ((uint8_t)0x00U) /* Channel source choose GPIOA */
#define DDL_EINT_LINE_SOURCE_GPIOB   ((uint8_t)0x01U) /* Channel source choose GPIOB */
#define DDL_EINT_LINE_SOURCE_GPIOC   ((uint8_t)0x02U) /* Channel source choose GPIOC */
#define DDL_EINT_LINE_SOURCE_GPIOD   ((uint8_t)0x03U) /* Channel source choose GPIOD */
#define DDL_EINT_WriteReg(__REG__, __VALUE__)
 Write a value in EINT register.
#define DDL_EINT_ReadReg(__REG__)
 Read a value in EINT register.

Functions

__STATIC_INLINE void DDL_EINT_EnableIT (uint32_t EintLine)
 Enable EintLine Interrupt request for Lines within the range.
__STATIC_INLINE void DDL_EINT_DisableIT (uint32_t EintLine)
 Disable EintLine Interrupt request for Lines within the range.
__STATIC_INLINE uint32_t DDL_EINT_IsEnabledIT (uint32_t EintLine)
 Indicate if EintLine Interrupt request is enabled for Lines within the range.
__STATIC_INLINE void DDL_EINT_EnableEvent (uint32_t EintLine)
 Enable EintLine Event request for Lines within the range.
__STATIC_INLINE void DDL_EINT_DisableEvent (uint32_t EintLine)
 Disable EintLine Event request for Lines within the range.
__STATIC_INLINE uint32_t DDL_EINT_IsEnabledEvent (uint32_t EintLine)
 Indicate if EintLine Event request is enabled for Lines within the range.
__STATIC_INLINE void DDL_EINT_EnableRisingTrig (uint32_t EintLine)
 Enable EintLine Rising Edge Trigger for Lines within the range.
__STATIC_INLINE void DDL_EINT_DisableRisingTrig (uint32_t EintLine)
 Disable EintLine Rising Edge Trigger for Lines within the range.
__STATIC_INLINE uint32_t DDL_EINT_IsEnabledRisingTrig (uint32_t EintLine)
 Check if rising edge trigger is enabled for Lines within the range.
__STATIC_INLINE void DDL_EINT_EnableFallingTrig (uint32_t EintLine)
 Enable EintLine Falling Edge Trigger for Lines within the range.
__STATIC_INLINE void DDL_EINT_DisableFallingTrig (uint32_t EintLine)
 Disable EintLine Falling Edge Trigger for Lines within the range.
__STATIC_INLINE uint32_t DDL_EINT_IsEnabledFallingTrig (uint32_t EintLine)
 Check if falling edge trigger is enabled for Lines within the range.
__STATIC_INLINE void DDL_EINT_GenerateSWI (uint32_t EintLine)
 Generate a software Interrupt Event for Lines within the range.
__STATIC_INLINE void DDL_EINT_SetLineSource (uint32_t EintLine, uint32_t Source)
 Set EINT line source.
__STATIC_INLINE uint32_t DDL_EINT_GetLineSource (uint32_t EintLine)
 Set EINT line source.
__STATIC_INLINE uint32_t DDL_EINT_IsActiveFlag (uint32_t EintLine)
 Check if the EintLine Flag is set or not for Lines within the range.
__STATIC_INLINE uint32_t DDL_EINT_ReadFlag (uint32_t EintLine)
 Read EintLine Combination Flag for Lines within the range.
__STATIC_INLINE void DDL_EINT_ClearFlag (uint32_t EintLine)
 Clear EintLine Flags for Lines within the range.
uint32_t DDL_EINT_Init (DDL_EINT_InitTypeDef *EINT_InitStruct)
 Initialize the EINT registers according to the specified parameters in EINT_InitStruct.
uint32_t DDL_EINT_DeInit (void)
 De-initialize the EINT registers to their default reset values.
void DDL_EINT_StructInit (DDL_EINT_InitTypeDef *EINT_InitStruct)
 Set each DDL_EINT_InitTypeDef field to default value.

Detailed Description

Header file of EINT DDL module.

Attention

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The original code has been modified by Geehy Semiconductor.

Copyright (c) 2016 STMicroelectronics. Copyright (C) 2025 Geehy Semiconductor. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.Clause

Definition in file g32r4xx_ddl_eint.h.