參數(shù)資料
型號: UPD78F9212CS-CAB-A
廠商: Renesas Electronics America
文件頁數(shù): 148/175頁
文件大?。?/td> 0K
描述: MCU 8BIT 4KB FLASH 16PIN
標(biāo)準(zhǔn)包裝: 400
系列: 78K0S/Kx1+
核心處理器: 78K0S
芯體尺寸: 8-位
速度: 10MHz
外圍設(shè)備: LVD,POR,PWM,WDT
輸入/輸出數(shù): 13
程序存儲器容量: 4KB(4K x 8)
程序存儲器類型: 閃存
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 2 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 4x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 16-DIP(0.300",7.62mm)
包裝: 托盤
CHAPTER 4 PORT FUNCTIONS
User’s Manual U16994EJ6V0UD
72
4.4
Operation of Port Function
The operation of a port differs, as follows, depending on the setting of the I/O mode.
Caution
Although a 1-bit memory manipulation instruction manipulates 1 bit, it accesses a port in 8-bit
units. Therefore, the contents of the output latch of a pin in the input mode, even if it is not
subject to manipulation by the instruction, are undefined in a port with a mixture of inputs and
outputs.
4.4.1
Writing to I/O port
(1) In output mode
A value can be written to the output latch by a transfer instruction. In addition, the contents of the output latch are
output from the pin. Once data is written to the output latch, it is retained until new data is written to the output
latch.
When a reset signal is generated, cleans the data in the output latch.
(2) In input mode
A value can be written to the output latch by a transfer instruction. Because the output buffer is off, however, the
pin status remains unchanged.
Once data is written to the output latch, it is retained until new data is written to the output latch.
When a reset signal is generated, cleans the data in the output latch.
4.4.2
Reading from I/O port
(1) In output mode
The contents of the output latch can be read by a transfer instruction. The contents of the output latch remain
unchanged.
(2) In input mode
The pin status can be read by a transfer instruction. The contents of the output latch remain unchanged.
4.4.3
Operations on I/O port
(1) In output mode
An operation is performed on the contents of the output latch and the result is written to the output latch. The
contents of the output latch are output from the pin.
Once data is written to the output latch, it is retained until new data is written to the output latch.
Reset signal generation clears the data in the output latch.
(2) In input mode
The pin level is read and an operation is performed on its contents. The operation result is written to the output
latch. However, the pin status remains unchanged because the output buffer is off.
When a reset signal is generated, cleans the data in the output latch.
相關(guān)PDF資料
PDF描述
UPD78F9222CS-CAC-A MCU 8BIT 4KB FLASH 20PIN
UPD78F9234CS-CAA-A MCU 8BIT 8KB FLASH 30PIN
UPD78F9418AGC-8BT-A IC MCU 8BIT 32K FLASH 80QFP
USB-232-DIL IC USB ASYNC SRL UART 28-DIL
USB-DAQ-DIL IC SYSTEM DATA LOGGER 28-DIL
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD78F9212FH(T)-2A2-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9212FH-2A2-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9212FH-2A2-E1-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9212GR(T)-JJG 制造商:Renesas Electronics Corporation 功能描述: 制造商:NEC Electronics Corporation 功能描述: 制造商:NEC Electronics Corporation 功能描述:8-BIT, FLASH, 10 MHz, MICROCONTROLLER, PDSO16
UPD78F9212GR(T)-JJG-A 制造商:NEC Electronics Corporation 功能描述:8BIT MCU 4K FLASH 128B RAM 78F9212