Nut/OS  5.0.5
API Reference
stm32f10x_gpio.c File Reference

This file provides all the GPIO firmware functions. More...

Include dependency graph for stm32f10x_gpio.c:

Defines

#define assert_param(c)   NUTASSERT(c)
#define AFIO_OFFSET   (AFIO_BASE - PERIPH_BASE)
#define EVCR_OFFSET   (AFIO_OFFSET + 0x00)
#define EVOE_BitNumber   ((uint8_t)0x07)
#define EVCR_EVOE_BB   (PERIPH_BB_BASE + (EVCR_OFFSET * 32) + (EVOE_BitNumber * 4))
#define MAPR_OFFSET   (AFIO_OFFSET + 0x04)
#define MII_RMII_SEL_BitNumber   ((uint8_t)0x17)
#define MAPR_MII_RMII_SEL_BB   (PERIPH_BB_BASE + (MAPR_OFFSET * 32) + (MII_RMII_SEL_BitNumber * 4))
#define EVCR_PORTPINCONFIG_MASK   ((uint16_t)0xFF80)
#define LSB_MASK   ((uint16_t)0xFFFF)
#define DBGAFR_POSITION_MASK   ((uint32_t)0x000F0000)
#define DBGAFR_SWJCFG_MASK   ((uint32_t)0xF0FFFFFF)
#define DBGAFR_LOCATION_MASK   ((uint32_t)0x00200000)
#define DBGAFR_NUMBITS_MASK   ((uint32_t)0x00100000)

Functions

void GPIO_EventOutputConfig (uint8_t GPIO_PortSource, uint8_t GPIO_PinSource)
 Selects the GPIO pin used as Event output.
void GPIO_EventOutputCmd (FunctionalState NewState)
 Enables or disables the Event Output.
void GPIO_PinRemapConfig (uint32_t GPIO_Remap, FunctionalState NewState)
 Changes the mapping of the specified pin.
void GPIO_EXTILineConfig (uint8_t GPIO_PortSource, uint8_t GPIO_PinSource)
 Selects the GPIO pin used as EXTI Line.
void GPIO_ETH_MediaInterfaceConfig (uint32_t GPIO_ETH_MediaInterface)
 Selects the Ethernet media interface.

Detailed Description

This file provides all the GPIO firmware functions.

Author:
MCD Application Team
Version:
V3.3.0
Date:
04/16/2010

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2010 STMicroelectronics


Define Documentation

#define assert_param (   c)    NUTASSERT(c)
 * $Id: stm32f10x_gpio.c 4268 2012-06-15 13:24:08Z haraldkipp $
 * 

Referenced by GPIO_ETH_MediaInterfaceConfig(), GPIO_EventOutputCmd(), GPIO_EventOutputConfig(), GPIO_EXTILineConfig(), and GPIO_PinRemapConfig().