Subversion Repositories DashDisplay

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 5
Line 1... Line 1...
1
/**
1
/**
2
  ******************************************************************************
2
  ******************************************************************************
3
  * @file    stm32f1xx_hal_gpio.c
3
  * @file    stm32f1xx_hal_gpio.c
4
  * @author  MCD Application Team
4
  * @author  MCD Application Team
5
  * @version V1.0.1
5
  * @version V1.0.4
6
  * @date    31-July-2015
6
  * @date    29-April-2016
7
  * @brief   GPIO HAL module driver.
7
  * @brief   GPIO HAL module driver.
8
  *         This file provides firmware functions to manage the following
8
  *         This file provides firmware functions to manage the following
9
  *          functionalities of the General Purpose Input/Output (GPIO) peripheral:
9
  *          functionalities of the General Purpose Input/Output (GPIO) peripheral:
10
  *           + Initialization and de-initialization functions
10
  *           + Initialization and de-initialization functions
11
  *           + IO operation functions
11
  *           + IO operation functions
Line 90... Line 90...
90
 
90
 
91
  @endverbatim
91
  @endverbatim
92
  ******************************************************************************
92
  ******************************************************************************
93
  * @attention
93
  * @attention
94
  *
94
  *
95
  * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
95
  * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
96
  *
96
  *
97
  * Redistribution and use in source and binary forms, with or without modification,
97
  * Redistribution and use in source and binary forms, with or without modification,
98
  * are permitted provided that the following conditions are met:
98
  * are permitted provided that the following conditions are met:
99
  *   1. Redistributions of source code must retain the above copyright notice,
99
  *   1. Redistributions of source code must retain the above copyright notice,
100
  *      this list of conditions and the following disclaimer.
100
  *      this list of conditions and the following disclaimer.
Line 205... Line 205...
205
 
205
 
206
  /* Check the parameters */
206
  /* Check the parameters */
207
  assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
207
  assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
208
  assert_param(IS_GPIO_PIN(GPIO_Init->Pin));
208
  assert_param(IS_GPIO_PIN(GPIO_Init->Pin));
209
  assert_param(IS_GPIO_MODE(GPIO_Init->Mode));
209
  assert_param(IS_GPIO_MODE(GPIO_Init->Mode));
210
  assert_param(IS_GPIO_PULL(GPIO_Init->Pull));
-
 
211
 
210
 
212
  /* Configure the port pins */
211
  /* Configure the port pins */
213
  for (position = 0; position < GPIO_NUMBER; position++)
212
  for (position = 0; position < GPIO_NUMBER; position++)
214
  {
213
  {
215
    /* Get the IO position */
214
    /* Get the IO position */
Line 568... Line 567...
568
  * @param GPIO_Pin: Specifies the pins connected EXTI line
567
  * @param GPIO_Pin: Specifies the pins connected EXTI line
569
  * @retval None
568
  * @retval None
570
  */
569
  */
571
__weak void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
570
__weak void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
572
{
571
{
-
 
572
  /* Prevent unused argument(s) compilation warning */
-
 
573
  UNUSED(GPIO_Pin);
573
  /* NOTE : This function Should not be modified, when the callback is needed,
574
  /* NOTE : This function Should not be modified, when the callback is needed,
574
            the HAL_GPIO_EXTI_Callback could be implemented in the user file
575
            the HAL_GPIO_EXTI_Callback could be implemented in the user file
575
   */
576
   */
576
}
577
}
577
 
578