Digilent PmodCLP Справочное руководство - Страница 4
Просмотреть онлайн или скачать pdf Справочное руководство для Блок управления Digilent PmodCLP. Digilent PmodCLP 4 страницы. Parallel lcd display module
Также для Digilent PmodCLP: Справочное руководство (6 страниц)
PmodCLP Library: CLP Demo
Waits in a loop until a button action is detected, then configures the output parameters and
returns. It reads flags set by Timer5Handler, detecting the following actions:
o single button: one of BTN1, BTN2 is pressed - *pfBtn1Process, *pfBtn2Process are
set to fTrue
o double buttons: one of BTN1, BTN2 is released while the other is pressed – both
*pfBTn1Process and *pfBtn2Process are set to fTrue
This function is called from main program loop, so its loop is the place where other
functionality can be placed.
void DeviceInit(void)
Parameters:
none
This routine initializes the on-chip and on-board peripheral devices to their default state. I t
also calls ClpPinsConfigure() toconfigure CLP pins.
void AppInit(void)
Parameters:
none
This routine performs application specific initialization. It configures devices and global
variables for the application. It configures TIMER5 and its interrupt using Plib macros. SFRs approach
is also provided in the commented code.
www.digilentinc.com
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Digilent, Inc.
page 4 of 4