XE8805 SEMTECH [Semtech Corporation], XE8805 Datasheet - Page 72

no-image

XE8805

Manufacturer Part Number
XE8805
Description
Data Acquisition MCU
Manufacturer
SEMTECH [Semtech Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
XE8805AMI028LF
Manufacturer:
Semtech
Quantity:
10 000
Part Number:
XE8805AMI028LF
Manufacturer:
SEMTECH/美国升特
Quantity:
20 000
13.1 Features
13.2 Overview
Port C (PC) is a general purpose 8 bit input/output digital port.
Figure 13-1 shows its structure.
13.3 Port C (PC) Operation
The direction of each bit within Port C (input or output) can be individually set by using the RegPCDir register. If
PCDir[x] = 1, the corresponding Port C pin becomes an output. After reset, Port C is in input mode (PCDir[x] are
reset to 0).
Output mode:
Data is stored in RegPCOut prior to output at Port C.
Input mode:
The status of Port C is available in RegPCIn (read only). Reading is always direct - there is no digital debounce
function associated with Port C. In case of possible noise on input signals, a software debouncer or an external
filter must be realized.
By default after reset, Port C is configured as an input port.
13.4 Register map
There are three registers in the Port C (PC), namely RegPCIn, RegPCOut and RegPCDir. Table 13-1 to Table
13-3 show the mapping of control bits and functionality of these registers.
Table 13-1. RegPCIn
© Semtech 2006
Pos.
7-0
Input / output port, 8 bits wide
Each bit can be set individually for input or output
RegPCIn
PCIn
Rw
r
Reset
-
Figure 13-1: structure of Port C
Port C
Description
8
8
8
pad PC input value
13-2
RegPCOut
RegPCDir
RegPCIn
XE8805/05A
www.semtech.com

Related parts for XE8805