Digilent PmodCLP Referans Kılavuzu - Sayfa 4

Kontrol Ünitesi Digilent PmodCLP için çevrimiçi göz atın veya pdf Referans Kılavuzu indirin. Digilent PmodCLP 4 sayfaları. Parallel lcd display module
Ayrıca Digilent PmodCLP için: Referans Kılavuzu (6 sayfalar)

Digilent PmodCLP Referans Kılavuzu
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