eLooM for STM32 application  v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
Loading...
Searching...
No Matches
EXTIPinMap.h File Reference

External Interrupt callback declaration. More...

#include <stdint.h>
#include "services/eloom_sysbase.h"
+ Include dependency graph for EXTIPinMap.h:

Go to the source code of this file.

Detailed Description

External Interrupt callback declaration.

Author
STMicroelectronics - ST-Korea - MCD Team
Version
3.0.0
Date
Dec 8, 2016

This file declares a set of macro that the application use to define the pin to callback map for the external interrupt.

Each entry has two values that are:

  • GPIO pin.
  • Callback function.

To access the map from an application source file:

  • Include the EXTIPinMap.h
  • use the EXTI_DECLARE_PIN2F_MAP() macro to declare the map.
  • use the EXTI_GET_PIN2F_MAP() to get a pointer to the first element of the map.

The application has the responsibility to define the map according to the PIN used as external interrupt source.

Attention

Copyright (c) 2016 STMicroelectronics. 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.