Add BUTTON pin names for EV_COG_AD4050LZ and EV_COG_AD3029LZ

Apart from reset and boot buttons, EV_COG_AD4050LZ and
EV_COG_AD3029LZ have 2 more user defined buttons:

- BUTTON1
- BUTTON2
pull/6648/head
Edmund Hsu 2018-04-17 10:31:29 +10:00
parent f73415e9f8
commit 3d37c26d28
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2010-2017 Analog Devices, Inc.
* Copyright (c) 2010-2018 Analog Devices, Inc.
*
* All rights reserved.
*
@ -120,6 +120,9 @@ typedef enum {
//Push buttons
PB0 = P1_00, // BTN1
PB1 = P0_09, // BTN2
BUTTON1 = P1_00, // BTN1
BUTTON2 = P0_09, // BTN2
BOOT = P1_01,
WAKE0 = P0_15, // JP15 to select
WAKE1 = P1_00, // JP8 (BTN1 jumper) to select

View File

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2010-2017 Analog Devices, Inc.
* Copyright (c) 2010-2018 Analog Devices, Inc.
*
* All rights reserved.
*
@ -135,6 +135,9 @@ typedef enum {
//Push buttons
PB0 = P1_00, // BTN1
PB1 = P0_09, // BTN2
BUTTON1 = P1_00, // BTN1
BUTTON2 = P0_09, // BTN2
BOOT = P1_01,
WAKE0 = P0_15, // JP15 to select
WAKE1 = P1_00, // JP8 (BTN1 jumper) to select