Sunshine Grace Cabatan
/
EVAL-AD910x
Example program for EVAL-AD9106 and EVAL-AD9102
Diff: main.cpp
- Revision:
- 8:51792457e0da
- Parent:
- 7:2ff94dbecc75
diff -r 2ff94dbecc75 -r 51792457e0da main.cpp --- a/main.cpp Tue Mar 30 11:31:59 2021 +0000 +++ b/main.cpp Sat Apr 10 10:51:34 2021 +0000 @@ -1,6 +1,17 @@ -/* -<Insert license number here.> -*/ +/******************************************************************************* + @file: main.cpp + + @brief: Main module for EVAL-AD910x application interface +-------------------------------------------------------------------------------- + Copyright (c) 2021 Analog Devices, Inc. + All rights reserved. + + This software is proprietary to Analog Devices, Inc. and its licensors. + By using this software you agree to the terms of the associated + Analog Devices Software License Agreement. + + 20210120-LWSC-CTSLA +*******************************************************************************/ /*** Libraries ***/ #include "mbed.h" @@ -12,8 +23,8 @@ #define BAUD_RATE 115200 AD910x device( PA_15 ); -DigitalOut en_cvddx( PG_7, 0 ); ///< DigitalOut instance for enable pin of on-board oscillator supply -DigitalOut shdn_n_lt3472( PG_9, 0 ); ///< DigitalOut instance for shutdown/enable pin of on-board amplifier supply +DigitalOut en_cvddx( PG_7, 0 ); ///DigitalOut instance for enable pin of on-board oscillator supply +DigitalOut shdn_n_lt3472( PG_9, 0 ); ///DigitalOut instance for shutdown/enable pin of on-board amplifier supply /* Configure and instantiate UART protocol and baud rate */ UnbufferedSerial pc( USBTX, USBRX, BAUD_RATE );