UPD75238GJ NEC [NEC], UPD75238GJ Datasheet - Page 72

no-image

UPD75238GJ

Manufacturer Part Number
UPD75238GJ
Description
4 BIT SINGLE-CHIP MICROCOMPUTER
Manufacturer
NEC [NEC]
Datasheet
72
(2) Timer/pulse generator mode register (TPGM)
The timer/pulse generator mode register (TPGM) is an 8-bit register that controls operation of the timer/
pulse generator. Fig. 4-31 shows the format of the register.
TPGM is set with an 8-bit memory manipulation instruction.
Bit 3 enables or disables the transfer (reloading) of the timer/pulse generator modulo register (MODH and
MODL) contents to the modulo latch. Bit 3 can be manipulated independently of the other bits.
By setting TPGM1 to 0, timer/pulse generator operation can be stopped to decrease current consumption.
A RESET input clears all bits to 0.
Address
F90H
TPGM7
7
Modulo register reload enable/disable bit
PPO output latch data
PPO pin output selection bit static/pulse
PPO pin output enable/disable bit
Timer/pulse generator operation mode selection bit
Timer/pulse generator operation enable/disable bit
TPGM0
TPGM1
TPGM3
TPGM4
TPGM5
TPGM7
6
Fig. 4-31 Format of Timer/Pulse Generator Mode Register
TPGM5 TPGM4 TPGM3
5
0
1
0
1
0
1
0
1
0
1
0
1
Select PWM pulse generation mode
Select timer mode
Disable timer/pulse generator operation
Enable timer/pulse generator operation
Disable reloading of modulo register
Enable reloading of modulo register
Output 0 to PPO output latch
Output 1 to PPO output latch
Static output on PPO pin
Pulse output (square wave/PWM) on PPO pin
Disable output on PPO pin (high-impedance)
Enable output on PPO pin
4
3
2
0
TPGM1 TPGM0
1
0
Symbol
TPGM
PD75238

Related parts for UPD75238GJ