DIY Logging Volt/Ampmeter
stm32f1xx_hal_gpio_ex.h File Reference

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

Go to the source code of this file.

Macros

#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. More...
 
#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. More...
 
#define __HAL_AFIO_REMAP_I2C1_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_I2C1_REMAP)
 Enable the remapping of I2C1 alternate function SCL and SDA. More...
 
#define __HAL_AFIO_REMAP_I2C1_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_I2C1_REMAP)
 Disable the remapping of I2C1 alternate function SCL and SDA. More...
 
#define __HAL_AFIO_REMAP_USART1_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_USART1_REMAP)
 Enable the remapping of USART1 alternate function TX and RX. More...
 
#define __HAL_AFIO_REMAP_USART1_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_USART1_REMAP)
 Disable the remapping of USART1 alternate function TX and RX. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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) More...
 
#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) More...
 
#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) More...
 
#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) More...
 
#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) More...
 
#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) More...
 
#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) More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#define __HAL_AFIO_REMAP_TIM4_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_TIM4_REMAP)
 Enable the remapping of TIM4 alternate function channels 1 to 4. More...
 
#define __HAL_AFIO_REMAP_TIM4_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_TIM4_REMAP)
 Disable the remapping of TIM4 alternate function channels 1 to 4. More...
 
#define __HAL_AFIO_REMAP_PD01_ENABLE()   AFIO_REMAP_ENABLE(AFIO_MAPR_PD01_REMAP)
 Enable the remapping of PD0 and PD1. When the HSE oscillator is not used (application running on internal 8 MHz RC) PD0 and PD1 can be mapped on OSC_IN and OSC_OUT. This is available only on 36, 48 and 64 pins packages (PD0 and PD1 are available on 100-pin and 144-pin packages, no need for remapping). More...
 
#define __HAL_AFIO_REMAP_PD01_DISABLE()   AFIO_REMAP_DISABLE(AFIO_MAPR_PD01_REMAP)
 Disable the remapping of PD0 and PD1. When the HSE oscillator is not used (application running on internal 8 MHz RC) PD0 and PD1 can be mapped on OSC_IN and OSC_OUT. This is available only on 36, 48 and 64 pins packages (PD0 and PD1 are available on 100-pin and 144-pin packages, no need for remapping). More...
 
#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). More...
 
#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). More...
 
#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). More...
 
#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). More...
 
#define __HAL_AFIO_REMAP_SWJ_ENABLE()   AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_RESET)
 Enable the Serial wire JTAG configuration. More...
 
#define __HAL_AFIO_REMAP_SWJ_NONJTRST()   AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_NOJNTRST)
 Enable the Serial wire JTAG configuration. More...
 
#define __HAL_AFIO_REMAP_SWJ_NOJTAG()   AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_JTAGDISABLE)
 Enable the Serial wire JTAG configuration. More...
 
#define __HAL_AFIO_REMAP_SWJ_DISABLE()   AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_DISABLE)
 Disable the Serial wire JTAG configuration. More...
 
#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)
 
void HAL_GPIOEx_EnableEventout (void)
 
void HAL_GPIOEx_DisableEventout (void)
 

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.