/**
******************************************************************************
* @file bsp_key.c
* @author Waao
* @version V1.0.0
* @date 20-Dec-2018
* @brief This file contains some board support package's functions for the KEY.
*
******************************************************************************
* @attention
*
* None
*
******************************************************************************
*/
#include
/**
* @brief Initialize the RCC of the 8 GPIO line.
* @param None
* @retval None
*/
void GPIO_RCC_Config(void)
{
RCC_AHB1PeriphClockCmd(C1_GPIO_CLK, ENABLE);
RCC_AHB1PeriphClockCmd(C2_GPIO_CLK, ENABLE);
RCC_AHB1PeriphClockCmd(C3_GPIO_CLK, ENABLE);
RCC_AHB1PeriphClockCmd(C4_GPIO_CLK, ENABLE);
RCC_AHB1PeriphClockCmd(R1_GPIO_CLK, ENABLE);
RCC_AHB1PeriphClockCmd(R2_GPIO_CLK, ENABLE);
RCC_AHB1PeriphClockCmd(R3_GPIO_CLK, ENABLE);
RCC_AHB1PeriphClockCmd(R4_GPIO_CLK, ENABLE);
}
/**
* @brief Initialize the Row out Column in.
* @param None
* @retval None
*/
void ROCI_GPIO_Config(void)
{
GPIO_InitTypeDef GPIO_Structure;
//============ Column =============
<