ADuC7060
GP0CON1 Control Registers
The GP0CON1 write values are as follows: GP0KEY1 = 0x7,
GP0CON1 = user value, and GP0KEY2 = 0x13.
Name:
Address:
GP0CON1
0xFFFF0468
Name
Address:
Default value:
Access:
Function:
GP0KEY1
0xFFFF0464
0xXXXX
Write only
When writing to GP0CON1, the value of 0x07
Default value:
Access:
Function:
0x00
Read and write
This register controls the P0.0, P0.1, P0.2 and
P0.3 functionality of the multifunction GPIO
pins.
must be written to this register in the
instruction immediately before writing to
Table 118. GP0CON1 MMR Bit Designations
GP0CON1.
Table 116. GPxCLR MMR Bit Descriptions
Bit
Description
31:24
Reserved.
23:16
Data Port x clear bit.
Set to 1 by user to clear the bit on Port x; also clears
the corresponding bit in the GPxDAT MMR.
Cleared to 0 by user; does not affect the data output.
15:0
Reserved.
Table 117. GP0CON1 Write Sequence
Name
Value
GP0KEY1
0x7
GP0CON1
User value
GP0KEY2
0x13
Bit
7:2
1
0
Name
Reserved
SPII2CSEL
ADCSEL
Description
These bits must always be set to 0.
This bit configures the P0.0 to P0.3 functions
in I 2 C or SPI mode. Note that Bit 0 of GP0CON1
must be set to 0 for this bit to work.
To select the P0.0, P0.1,P0.2 and P0.3 functions
in SPI mode, clear this bit to 0.
To select the P0.0, P0.1,P0.2 and P0.3 functions
in I 2 C mode, set this bit to 1.
This bit is cleared by default.
This bit configures the P0.0 to P0.3 functions
as GPIO pins or as ADC input pins.
To enable P0.0, P0.1, P0.2 and P0.3 functions
as ADC inputs, set this bit to 1.
To enable P0.0, P0.1, P0.2, and P0.3 functions
as digital I/O, clear this bit to 0.
This bit is cleared by default.
Name:
Address:
Default value:
Access:
Function:
GP0KEY2
0xFFFF046C
0xXXXX
Write only
When writing to GP0CON1, the value of 0x13
must be written to this register in the
instruction immediately after writing to
POWCON0.
Rev. 0 | Page 98 of 100
相关PDF资料
EVAL-ADUC845QSPZ KIT DEV QUICK START ADUC845
EVAL-ADUM3070EBZ BOARD EVAL FOR ADUM3070
EVAL-SDP-CB1Z BOARD EVALUATION FOR SDP-CB1
EVB51JM128 BOARD EVAL FOR MCF51JM128 MCU
EVBQE128 BOARD EVAL FLEXIS QE128 FAMILY
F2068 PNL FIBERGLASS 18.44X14.44" WHT
FAN3100CMPX IC GATE DRVR SGL CMOS 2A 6MLP
FAN3111CSX IC GATE DVR 1CH 1A LOW SOT23-5
相关代理商/技术参数
EVAL-ADUC7060QSPZU1 制造商:Analog Devices 功能描述:
EVALADUC7060QSPZU2 制造商:Analog Devices 功能描述:QUICK START DEVELOPMENT SYSTEM - Boxed Product (Development Kits)
EVAL-ADUC7061MKZ 功能描述:开发板和工具包 - ARM Quick Start Development System RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
EVAL-ADUC7061MKZ 制造商:Analog Devices 功能描述:ADUC7061MKZ EvaluationBoard
EVAL-ADUC7061MKZU2 制造商:Analog Devices 功能描述:PN may be NE CE 制造商:Analog Devices 功能描述:EVALUATION CONTROL BOARD - Boxed Product (Development Kits)
EVAL-ADUC7121QSPZ 功能描述:BOARD EVALUATION FOR ADUC7121 RoHS:是 类别:编程器,开发系统 >> 通用嵌入式开发板和套件(MCU、DSP、FPGA、CPLD等) 系列:MicroConverter® ADuC7xxx 标准包装:1 系列:PICDEM™ 类型:MCU 适用于相关产品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,线缆,元件,CD,PICkit 编程器 产品目录页面:659 (CN2011-ZH PDF)
EVALADUC7121QSPZU1 制造商:Analog Devices 功能描述:QUICK START DEVELOPMENT SYSTEM - Boxed Product (Development Kits)
EVAL-ADUC7122QSPZ 功能描述:BOARD EVALUATION FOR ADUC7122 RoHS:是 类别:编程器,开发系统 >> 通用嵌入式开发板和套件(MCU、DSP、FPGA、CPLD等) 系列:MicroConverter® ADuC7xxx 标准包装:1 系列:PICDEM™ 类型:MCU 适用于相关产品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,线缆,元件,CD,PICkit 编程器 产品目录页面:659 (CN2011-ZH PDF)