STM32F103xB HAL User Manual
Defines | Functions
stm32f1xx_hal_gpio_ex.h File Reference

Header file of GPIO HAL Extension module. More...

#include "stm32f1xx_hal_def.h"

Go to the source code of this file.

Defines

#define AFIO_EVENTOUT_PIN_0   AFIO_EVCR_PIN_PX0
#define AFIO_EVENTOUT_PIN_1   AFIO_EVCR_PIN_PX1
#define AFIO_EVENTOUT_PIN_2   AFIO_EVCR_PIN_PX2
#define AFIO_EVENTOUT_PIN_3   AFIO_EVCR_PIN_PX3
#define AFIO_EVENTOUT_PIN_4   AFIO_EVCR_PIN_PX4
#define AFIO_EVENTOUT_PIN_5   AFIO_EVCR_PIN_PX5
#define AFIO_EVENTOUT_PIN_6   AFIO_EVCR_PIN_PX6
#define AFIO_EVENTOUT_PIN_7   AFIO_EVCR_PIN_PX7
#define AFIO_EVENTOUT_PIN_8   AFIO_EVCR_PIN_PX8
#define AFIO_EVENTOUT_PIN_9   AFIO_EVCR_PIN_PX9
#define AFIO_EVENTOUT_PIN_10   AFIO_EVCR_PIN_PX10
#define AFIO_EVENTOUT_PIN_11   AFIO_EVCR_PIN_PX11
#define AFIO_EVENTOUT_PIN_12   AFIO_EVCR_PIN_PX12
#define AFIO_EVENTOUT_PIN_13   AFIO_EVCR_PIN_PX13
#define AFIO_EVENTOUT_PIN_14   AFIO_EVCR_PIN_PX14
#define AFIO_EVENTOUT_PIN_15   AFIO_EVCR_PIN_PX15
#define IS_AFIO_EVENTOUT_PIN(__PIN__)
#define AFIO_EVENTOUT_PORT_A   AFIO_EVCR_PORT_PA
#define AFIO_EVENTOUT_PORT_B   AFIO_EVCR_PORT_PB
#define AFIO_EVENTOUT_PORT_C   AFIO_EVCR_PORT_PC
#define AFIO_EVENTOUT_PORT_D   AFIO_EVCR_PORT_PD
#define AFIO_EVENTOUT_PORT_E   AFIO_EVCR_PORT_PE
#define IS_AFIO_EVENTOUT_PORT(__PORT__)
#define __HAL_AFIO_REMAP_SPI1_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_SPI1_REMAP)
 Enable the remapping of SPI1 alternate function NSS, SCK, MISO and MOSI.
#define __HAL_AFIO_REMAP_SPI1_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_SPI1_REMAP)
 Disable the remapping of SPI1 alternate function NSS, SCK, MISO and MOSI.
#define __HAL_AFIO_REMAP_I2C1_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_I2C1_REMAP)
 Enable the remapping of I2C1 alternate function SCL and SDA.
#define __HAL_AFIO_REMAP_I2C1_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_I2C1_REMAP)
 Disable the remapping of I2C1 alternate function SCL and SDA.
#define __HAL_AFIO_REMAP_USART1_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_USART1_REMAP)
 Enable the remapping of USART1 alternate function TX and RX.
#define __HAL_AFIO_REMAP_USART1_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_USART1_REMAP)
 Disable the remapping of USART1 alternate function TX and RX.
#define __HAL_AFIO_REMAP_USART2_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_USART2_REMAP)
 Enable the remapping of USART2 alternate function CTS, RTS, CK, TX and RX.
#define __HAL_AFIO_REMAP_USART2_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_USART2_REMAP)
 Disable the remapping of USART2 alternate function CTS, RTS, CK, TX and RX.
#define __HAL_AFIO_REMAP_USART3_ENABLE()   AFIO_REMAP_PARTIAL(AFIO_MAPR_USART3_REMAP_FULLREMAP, AFIO_MAPR_USART3_REMAP_FULLREMAP)
 Enable the remapping of USART3 alternate function CTS, RTS, CK, TX and RX.
#define __HAL_AFIO_REMAP_USART3_PARTIAL()   AFIO_REMAP_PARTIAL(AFIO_MAPR_USART3_REMAP_PARTIALREMAP, AFIO_MAPR_USART3_REMAP_FULLREMAP)
 Enable the remapping of USART3 alternate function CTS, RTS, CK, TX and RX.
#define __HAL_AFIO_REMAP_USART3_DISABLE()   AFIO_REMAP_PARTIAL(AFIO_MAPR_USART3_REMAP_NOREMAP, AFIO_MAPR_USART3_REMAP_FULLREMAP)
 Disable the remapping of USART3 alternate function CTS, RTS, CK, TX and RX.
#define __HAL_AFIO_REMAP_TIM1_ENABLE()   AFIO_REMAP_PARTIAL(AFIO_MAPR_TIM1_REMAP_FULLREMAP, AFIO_MAPR_TIM1_REMAP_FULLREMAP)
 Enable the remapping of TIM1 alternate function channels 1 to 4, 1N to 3N, external trigger (ETR) and Break input (BKIN)
#define __HAL_AFIO_REMAP_TIM1_PARTIAL()   AFIO_REMAP_PARTIAL(AFIO_MAPR_TIM1_REMAP_PARTIALREMAP, AFIO_MAPR_TIM1_REMAP_FULLREMAP)
 Enable the remapping of TIM1 alternate function channels 1 to 4, 1N to 3N, external trigger (ETR) and Break input (BKIN)
#define __HAL_AFIO_REMAP_TIM1_DISABLE()   AFIO_REMAP_PARTIAL(AFIO_MAPR_TIM1_REMAP_NOREMAP, AFIO_MAPR_TIM1_REMAP_FULLREMAP)
 Disable the remapping of TIM1 alternate function channels 1 to 4, 1N to 3N, external trigger (ETR) and Break input (BKIN)
#define __HAL_AFIO_REMAP_TIM2_ENABLE()   AFIO_REMAP_PARTIAL(AFIO_MAPR_TIM2_REMAP_FULLREMAP, AFIO_MAPR_TIM2_REMAP_FULLREMAP)
 Enable the remapping of TIM2 alternate function channels 1 to 4 and external trigger (ETR)
#define __HAL_AFIO_REMAP_TIM2_PARTIAL_2()   AFIO_REMAP_PARTIAL(AFIO_MAPR_TIM2_REMAP_PARTIALREMAP2, AFIO_MAPR_TIM2_REMAP_FULLREMAP)
 Enable the remapping of TIM2 alternate function channels 1 to 4 and external trigger (ETR)
#define __HAL_AFIO_REMAP_TIM2_PARTIAL_1()   AFIO_REMAP_PARTIAL(AFIO_MAPR_TIM2_REMAP_PARTIALREMAP1, AFIO_MAPR_TIM2_REMAP_FULLREMAP)
 Enable the remapping of TIM2 alternate function channels 1 to 4 and external trigger (ETR)
#define __HAL_AFIO_REMAP_TIM2_DISABLE()   AFIO_REMAP_PARTIAL(AFIO_MAPR_TIM2_REMAP_NOREMAP, AFIO_MAPR_TIM2_REMAP_FULLREMAP)
 Disable the remapping of TIM2 alternate function channels 1 to 4 and external trigger (ETR)
#define __HAL_AFIO_REMAP_TIM3_ENABLE()   AFIO_REMAP_PARTIAL(AFIO_MAPR_TIM3_REMAP_FULLREMAP, AFIO_MAPR_TIM3_REMAP_FULLREMAP)
 Enable the remapping of TIM3 alternate function channels 1 to 4.
#define __HAL_AFIO_REMAP_TIM3_PARTIAL()   AFIO_REMAP_PARTIAL(AFIO_MAPR_TIM3_REMAP_PARTIALREMAP, AFIO_MAPR_TIM3_REMAP_FULLREMAP)
 Enable the remapping of TIM3 alternate function channels 1 to 4.
#define __HAL_AFIO_REMAP_TIM3_DISABLE()   AFIO_REMAP_PARTIAL(AFIO_MAPR_TIM3_REMAP_NOREMAP, AFIO_MAPR_TIM3_REMAP_FULLREMAP)
 Disable the remapping of TIM3 alternate function channels 1 to 4.
#define __HAL_AFIO_REMAP_TIM4_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_TIM4_REMAP)
 Enable the remapping of TIM4 alternate function channels 1 to 4.
#define __HAL_AFIO_REMAP_TIM4_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_TIM4_REMAP)
 Disable the remapping of TIM4 alternate function channels 1 to 4.
#define __HAL_AFIO_REMAP_CAN1_1()   AFIO_REMAP_PARTIAL(AFIO_MAPR_CAN_REMAP_REMAP1, AFIO_MAPR_CAN_REMAP)
 Enable or disable the remapping of CAN alternate function CAN_RX and CAN_TX in devices with a single CAN interface.
#define __HAL_AFIO_REMAP_CAN1_2()   AFIO_REMAP_PARTIAL(AFIO_MAPR_CAN_REMAP_REMAP2, AFIO_MAPR_CAN_REMAP)
 Enable or disable the remapping of CAN alternate function CAN_RX and CAN_TX in devices with a single CAN interface.
#define __HAL_AFIO_REMAP_CAN1_3()   AFIO_REMAP_PARTIAL(AFIO_MAPR_CAN_REMAP_REMAP3, AFIO_MAPR_CAN_REMAP)
 Enable or disable the remapping of CAN alternate function CAN_RX and CAN_TX in devices with a single CAN interface.
#define __HAL_AFIO_REMAP_PD01_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_PD01_REMAP)
 Enable the remapping of PD0 and PD1.
#define __HAL_AFIO_REMAP_PD01_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_PD01_REMAP)
 Disable the remapping of PD0 and PD1.
#define __HAL_AFIO_REMAP_ADC1_ETRGINJ_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_ADC1_ETRGINJ_REMAP)
 Enable the remapping of ADC1_ETRGINJ (ADC 1 External trigger injected conversion).
#define __HAL_AFIO_REMAP_ADC1_ETRGINJ_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_ADC1_ETRGINJ_REMAP)
 Disable the remapping of ADC1_ETRGINJ (ADC 1 External trigger injected conversion).
#define __HAL_AFIO_REMAP_ADC1_ETRGREG_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_ADC1_ETRGREG_REMAP)
 Enable the remapping of ADC1_ETRGREG (ADC 1 External trigger regular conversion).
#define __HAL_AFIO_REMAP_ADC1_ETRGREG_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_ADC1_ETRGREG_REMAP)
 Disable the remapping of ADC1_ETRGREG (ADC 1 External trigger regular conversion).
#define __HAL_AFIO_REMAP_SWJ_ENABLE()   AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_RESET)
 Enable the Serial wire JTAG configuration.
#define __HAL_AFIO_REMAP_SWJ_NONJTRST()   AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_NOJNTRST)
 Enable the Serial wire JTAG configuration.
#define __HAL_AFIO_REMAP_SWJ_NOJTAG()   AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_JTAGDISABLE)
 Enable the Serial wire JTAG configuration.
#define __HAL_AFIO_REMAP_SWJ_DISABLE()   AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_DISABLE)
 Disable the Serial wire JTAG configuration.
#define GPIO_GET_INDEX(__GPIOx__)
#define AFIO_REMAP_ENABLE(REMAP_PIN)
#define AFIO_REMAP_DISABLE(REMAP_PIN)
#define AFIO_REMAP_PARTIAL(REMAP_PIN, REMAP_PIN_MASK)
#define AFIO_DBGAFR_CONFIG(DBGAFR_SWJCFG)

Functions

void HAL_GPIOEx_ConfigEventout (uint32_t GPIO_PortSource, uint32_t GPIO_PinSource)
 Configures the port and pin on which the EVENTOUT Cortex signal will be connected.
void HAL_GPIOEx_EnableEventout (void)
 Enables the Event Output.
void HAL_GPIOEx_DisableEventout (void)
 Disables the Event Output.

Detailed Description

Header file of GPIO HAL Extension module.

Author:
MCD Application Team
Attention:

© Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32f1xx_hal_gpio_ex.h.