45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2019, Tongxin Microelectronics Co., Ltd.
|
|
* All rights reserved.
|
|
*
|
|
* FileName: outprompts.h
|
|
* SCFID:
|
|
* Feature:
|
|
* Version: V0.1
|
|
*
|
|
* History:
|
|
* 2019-05-30
|
|
* 1. Original version 0.1
|
|
* */
|
|
#ifndef __BSP_CFG_H__
|
|
#define __BSP_CFG_H__
|
|
#include "global.h"
|
|
/****************************************AUDIO*********************************************************/
|
|
#define VOICE_ENABLE_GPIO_PORT GPIOE
|
|
#define VOICE_ENABLE_GPIO_PIN GPIO_PIN_13
|
|
|
|
#define BELL_GPIO_PORT GPIOE
|
|
#define BELL_GPIO_PIN GPIO_PIN_3
|
|
#define BELL_GPIO_PIN_NUM 3
|
|
|
|
/****************************************LED*********************************************************/
|
|
#define LED_WHITE_GPIO_PORT GPIOD
|
|
#define LED_WHITE_GPIO_PIN GPIO_PIN_11
|
|
|
|
/****************************************CAMERA*********************************************************/
|
|
#define CAMERA_POWER_PORT GPIOD
|
|
#define CAMERA_POWER_PIN GPIO_PIN_10
|
|
|
|
#define CAMERA_RST_PORT GPIOD
|
|
#define CAMERA_RST_PIN GPIO_PIN_4
|
|
|
|
#define SCCB_SCL_PORT VBAT_GPIO
|
|
#define SCCB_SCL_PIN GPIO_PIN_3
|
|
#define SCCB_SCL_PIN_NUM 3
|
|
|
|
#define SCCB_SDA_PORT VBAT_GPIO
|
|
#define SCCB_SDA_PIN GPIO_PIN_2
|
|
#define SCCB_SDA_PIN_NUM 2
|
|
|
|
#endif /*__BSP_CFG_H__*/
|