HT45R22E Holtek Semiconductor, HT45R22E Datasheet - Page 32
HT45R22E
Manufacturer Part Number
HT45R22E
Description
Remote Type 8-bit OTP MCU
Manufacturer
Holtek Semiconductor
Datasheet
1.HT45R22E.pdf
(72 pages)
- Current page: 32 of 72
- Download datasheet (526Kb)
Programming Considerations
Within the user program, one of the first things to con-
sider is port initialisation. After a reset, the I/O data reg-
ister and I/O port control register will be set high. This
means that all I/O pins will default to an input state, the
level of which depends on the other connected circuitry
and whether pull-high options have been selected. If the
port control registers, are then programmed to setup
some pins as outputs, these output pins will have an ini-
tial high output value unless the associated port data
register is first programmed. Selecting which pins are in-
puts and which are outputs can be achieved byte-wide
by loading the correct value into the port control register
or by programming individual bits in the port control reg-
ister using the SET [m].i and CLR [m].i instructions.
Note that when using these bit control instructions, a
read-modify-write operation takes place. The
microcontroller must first read in the data on the entire
Rev. 1.00
Generic Input/Output Ports
32
port, modify it to the required new bit values and then re-
write this data back to the output ports.
Pins PA0 to PA7 and PC0 to PC7 each has a wake-up
function, selected via the PAWK and the PCWK regis-
ters respectively. When the device is in the Idle/Sleep
Mode, various methods are available to wake the device
up. One of these is a high to low transition of any of
these pins. Single or multiple pins on Port A or Port C
can be setup to have this function.
Read Modify Write Timing
HT45R22E
March 17, 2010
www.DataSheet4U.com
Related parts for HT45R22E
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Ht46r63/ht46c63 -- A/d With Lcd Type 8-bit Mcu
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
Part Number:
Description:
Ht6221/ht6222 -- Multi-purpose Encoders
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
Part Number:
Description:
Ht6230 -- Infrared Remote Encoder
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
Part Number:
Description:
Ht6571 -- Multiple Rs-232 Drivers And Receivers Restricted Products
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
Part Number:
Description:
Ps/2 Mouse Controller
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
Part Number:
Description:
I/o Ttl Integration
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
Part Number:
Description:
Timer
Manufacturer:
Holtek Semiconductor
Datasheet:
Part Number:
Description:
RAM Mapping 64 x16 LCD Controller for I/O C
Manufacturer:
Holtek Semiconductor Inc
Datasheet:
Part Number:
Description:
1/4 to 1/11 Duty VFD Controller
Manufacturer:
Holtek Semiconductor Inc
Datasheet:
Part Number:
Description:
(HT46R51 / HT46R52) A/D Type 8-Bit OTP MCU
Manufacturer:
Holtek Semiconductor
Datasheet:
Part Number:
Description:
A/D Type USB 8-Bit MCU
Manufacturer:
Holtek Semiconductor
Datasheet:
Part Number:
Description:
OTP Encoder
Manufacturer:
Holtek Semiconductor Inc
Datasheet:
Part Number:
Description:
Ht82m98a -- 3-key 3d Usb+ps/2 Mouse Controller
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
Part Number:
Description:
Ht82k68e -- Multimedia Keyboard Encoder 8-bit Otp Mcu
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
Part Number:
Description:
Ht82v732 -- 60ma Audio Power Amp
Manufacturer:
Holtek Semiconductor Inc.
Datasheet: