BS85B12-3 HOLTEK [Holtek Semiconductor Inc], BS85B12-3 Datasheet - Page 62
![no-image](/images/no-image-200.jpg)
BS85B12-3
Manufacturer Part Number
BS85B12-3
Description
Touch Key Flash Type 8-Bit MCU with LCD/LED Driver
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet
1.BS85B12-3.pdf
(182 pages)
- Current page: 62 of 182
- Download datasheet (3Mb)
Rev. 1.00
Bit 7
Bit 6
Bit 5~0
Name
POR
R/W
I/O Pin Structures
Programming Considerations
Bit
SLCDC3 Register -- BS85C20-3
TCK2PS
The accompanying diagrams illustrate the internal structures of some generic I/O pin types. As the
exact logical construction of the I/O pin will differ from these drawings, they are supplied as a guide
only to assist with the functional understanding of the I/O pins. The wide range of pin-shared
structures does not permit all types to be shown.
Within the user program, one of the first things to consider is port initialisation. After a reset, all of the
I/O data and 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 selections
have been chosen. If the port control register, PAC~PEC, is then programmed to setup some pins as
outputs, these output pins will have an initial high output value unless the associated port data register,
PA~PE, is first programmed. Selecting which pins are inputs and which are outputs can be achieved
byte-wide by loading the correct values into the appropriate port control register or by programming
individual bits in the port control register 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 port, modify it to the required new bit values
and then rewrite this data back to the output ports.
Port A has the additional capability of providing wake-up functions. When the device is in the SLEEP
or IDLE Mode, various methods are available to wake the device up. One of these is a high to low
transition of any of the Port A pins. Single or multiple pins on Port A can be setup to have this function.
R/W
TCK2PS: TCK2 pin remapping control
0: TCK2 on PC6
1: TCK2 on PD0
unimplemented, read as 0
described elsewhere
7
0
Touch Key Flash MCU with LCD/LED Driver
6
SEG21EN
Generic Input/Output Structure
R/W
5
0
SEG20EN
R/W
56
4
0
SEG19EN
R/W
3
0
BS85B12-3/BS85C20-3
SEG18EN
R/W
2
0
SEG17EN
R/W
1
0
February 1, 2011
SEG16EN
R/W
0
0
Related parts for BS85B12-3
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![HT1031](/images/no-image3.png)
Part Number:
Description:
Voltage Regulator
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT1087-15](/images/no-image3.png)
Part Number:
Description:
0.5A General Purpose LDO
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![BS801B](/images/no-image3.png)
Part Number:
Description:
Touch Key
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT-6550](/images/no-image3.png)
Part Number:
Description:
Super I/O Controller
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT62104](/images/no-image3.png)
Part Number:
Description:
Infrared Remote Encoder
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT6221A](/images/no-image3.png)
Part Number:
Description:
Multi-Purpose Encoders
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT62L256-28SOP-A](/images/no-image3.png)
Part Number:
Description:
CMOS 32Kx8 Low Power SRAM
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT-2070A](/images/no-image3.png)
Part Number:
Description:
LOTTO FLASH DRIVER
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT83003](/images/no-image3.png)
Part Number:
Description:
Q-Voice
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT83F10](/images/no-image3.png)
Part Number:
Description:
Flash Type Voice OTP MCU
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT1031](/images/no-image3.png)
Part Number:
Description:
Voltage Regulator
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT1087-15](/images/no-image3.png)
Part Number:
Description:
0.5A General Purpose LDO
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![BS801B](/images/no-image3.png)
Part Number:
Description:
Touch Key
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
![HT1620](/images/no-image3.png)
Part Number:
Description:
RAM Mapping 64 x16 LCD Controller for I/O C
Manufacturer:
Holtek Semiconductor Inc
Datasheet:
![HT16512](/images/no-image3.png)
Part Number:
Description:
1/4 to 1/11 Duty VFD Controller
Manufacturer:
Holtek Semiconductor Inc
Datasheet: