欢迎访问ic37.com |
会员登录 免费注册
发布采购

EM6621 参数 Datasheet PDF下载

EM6621图片预览
型号: EM6621
PDF下载: 下载PDF文件 查看货源
内容描述: 超低功耗微控制器的4x20 LCD驱动 [Ultra Low Power Microcontroller with 4x20 LCD Driver]
分类和应用: 微控制器驱动
文件页数/大小: 69 页 / 746 K
品牌: EMMICRO [ EM MICROELECTRONIC - MARIN SA ]
 浏览型号EM6621的Datasheet PDF文件第13页浏览型号EM6621的Datasheet PDF文件第14页浏览型号EM6621的Datasheet PDF文件第15页浏览型号EM6621的Datasheet PDF文件第16页浏览型号EM6621的Datasheet PDF文件第18页浏览型号EM6621的Datasheet PDF文件第19页浏览型号EM6621的Datasheet PDF文件第20页浏览型号EM6621的Datasheet PDF文件第21页  
EM6621
6.4 Port B
The EM6621 has one four bit general purpose I/O port. Each bit can be configured individually by software for
input/output, pull-up, pull-down and CMOS or Nch. open drain output type. The port outputs either data,
frequency or PWM signals.
6.4.1 Input / Output Mode
Each port B terminal is bit-wise bi-directional. The input or output mode on each port B terminal is set by writing
the corresponding bit in the
RegPBCntl
control register. To set for input (default), 0 is written to the
corresponding bit of the
RegPBCntl
register which results in a high impedance state for the output driver. The
output mode is set by writing 1 in the control register, and consequently the output terminal follows the status of
the bits in the
RegPBData
register.
The port B terminal status can be read on address
RegPBData
even in output mode. Be aware that the data
read on port B is not necessary of the same value as the data stored on
RegPBData
register.
See also Figure 11 for details.
Figure 11. Port B Architecture
Pull-down
Option Register
Internal Data Bus
Port B Direction Register
DDR[n]
Port B Data Register
DR[n]
MUX
PB[n]
Read
Pd[n]
Open Drain Option
Register
OD[n]
Active Pull-up
in Nch. Open
Drain Mode
Port B
Control
Mask Option
MPBPD[n]
I / O Terminal
Multiplexed
Outputs are:
PWM, Ck[16],
Ck[11], Ck[1]
Multiplexed
Output
Multiplexed
Output Active
mask option
MPBPD[n]
4
Active
Pull-down
Read
DB[n]
Read for PB[3:0]
03/02 REV. D/444
Copyright
2002, EM Microelectronic-Marin SA
17
www.emmicroelectronic.com