Rev. 1.50
6�
����st ��� �01�
Rev. 1.50
69
����st ��� �01�
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
Pin-remapping Functions
The flexibility of the microcontroller range is greatly enhanced by the use of pins that have more
than one function. Limited numbers of pins can force serious design constraints on designers but
by supplying pins with multi-functions, many of these difficulties can be overcome. The way in
which the pin function of each pin is selected is different for each function and a priority order is
established where more than one pin function is selected simultaneously. Additionally there is a
register, IFS, to establish certain pin functions.
The limited number of supplied pins in a package can impose restrictions on the amount of functions
a certain device can contain. However by allowing the same pins to share several different functions
and providing a means of function selection, a wide range of different functions can be incorporated
into even relatively small package sizes. If the pin-shared pin function have multiple outputs
simultaneously, its pin names at the right side of the “/” sign can be used for higher priority.
Register
Name
Bit
7
6
5
4
3
2
1
0
IFS
(HT66F01�5)
—
—
SDOPS SDI_SD�PS SCK_SCLPS SCSBPS INT1PS INT0PS
IFS
(HT66F01�5)
—
SDOPS1 SDOPS0 SDI_SD�PS SCK_SCLPS SCSBPS TXPS
RXPS
Pin-remapping Function Selection Registers List
IFS Register – HT66F0175
Bit
7
6
5
4
3
2
1
0
Name
—
—
SDOPS SDI_SD�PS SCK_SCLPS SCSBPS INT1PS INT0PS
R/W
—
—
R/W
R/W
R/W
R/W
R/W
R/W
POR
—
—
0
0
0
0
0
0
Bit 7~6
Unimplemented, read as “0”
Bit 5
SDOPS
: SDO pin-remapping selection
0: SDO on PC2
1: SDO on PA1
Bit 4
SDI_SDAPS
: SDI/SDA pin-remapping selection
0: SDI/SDA on PC3
1: SDI/SDA on PA3
Bit 3
SCK_SCLPS
: SCK/SCL pin-remapping selection
0: SCK/CL on PC4
1: SCK/CL on PB6
Bit 2
SCSBPS
: SCS pin-remapping selection
0: SCS on PA1
1: SCS on PB5
Bit 1
INT1PS
: INT1 pin-remapping selection
0: INT1 on PB1
1: INT1 on PC5
Bit 0
INT0PS
: INT0 pin-remapping selection
0: INT0 on PB0
1: INT0 on PC6