beautypg.com

Digilent 410-282P-KIT User Manual

Page 4

background image

Cmod S6™ Reference Manual

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 4 of 4

‘1’ and will set up the pin as an output if the corresponding bit in the register is a logic ‘0’. For example, if the value
stored in register 6 is 11110000 in binary (0xF0 in HEX), the pins 1-4 on the Cmod S6 will be set as outputs and pins
5-8 will be set as inputs. When a pin is configured as an output, it will initially be driven low (logic ‘0’).

The source code for this project can be found on the Cmod S6 product page of the Digilent website,
www.digilentinc.com.