English
Language : 

HT98F069 Datasheet, PDF (61/136 Pages) Holtek Semiconductor Inc – Two Way Radio Flash MCU
HT98F069
Two Way Radio Flash MCU
A/D Inputs
The device has 8 inputs to the A/D converter. All of these analog inputs are pin-shared with I/O pins.
If these pins are to be used as A/D inputs and not as I/O pins then the corresponding PCRn bits in
the ANCSR register, must be properly setup. There are no configuration options associated with the A/D
converter. If chosen as I/O pins, then full pull-high resistor options remain, however if used as A/D inputs then
any pull-high resistor configurations associated with these pins will be automatically disconnected.
D/A Outputs
The device has 4 outputs from the D/A converter. All of these analog outputs are pin-shared with I/O
pins. If these pins are to be used as D/A outputs and not as I/O pins then the corresponding ENn bits
in the DACR register, must be properly setup. There are no configuration options associated with the
D/A converter.
SPI Pins
The SPI associated pins are pin-shared with I/O pins. This function is controlled using the IEMC bit
in the SPICR register.
Audio processor Pins
Pins PB4~PB7 on Port B can be used as Audio processor I/O pins. This function is controlled using
the ERAM bit in the SPICR register.
Pin Remapping Configuration
The pin remapping function enables the function pins INT, TMR0 and PFD to be located on
different port pins. It is important not to confuse the Pin Remapping function with the Pin-shared
function, these two functions have no interdependence.
The PCFG bit in the CTRL0 register allows the three function pins INT, TMR0 and PFD to be
remapped to different port pins. After power up, this bit will be reset to zero, which will define the
default port pins to which these three functions will be mapped. Changing this bit will move the
functions to other port pins.
PCFG Bit
Pin Mapping
PCFG Bit Status
0
INT/PA3
TMR0/PA2
PFD/PA1
1
INT/PB4
TMR0/PB5
PFD/PB6
Rev. 1.10
61
November 25, 2016