upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 168

no-image

upd70f3017ay

Manufacturer Part Number
upd70f3017ay
Description
V850/sa1tm 32-/16-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd70f3017ayGC-8EU-A
Manufacturer:
MICROCHIP
Quantity:
1 001
7.2.2 PPG output operation
(TMCn) and capture/compare control register n (CRCn) as shown in Figure 7-5.
advance to 16-bit capture/compare register n0 (CRn0) and the pulse width specified by the count value set in advance
to 16-bit capture/compare register n1 (CRn1).
168
TMCn
CRCn
TOCn
TMn can be used for PPG (Programmable Pulse Generator) output by setting 16-bit timer mode control register n
The PPG output function outputs a square wave from the TOn pin at the cycle specified by the count value set in
Remark
Cautions 1. Make sure that CRn0 and CRn1 are set to 0000H < CRn1 < CRn0 ≤ FFFFH.
n = 0, 1
0
0
0
2. PPG output set the pulse cycle to (CRn0 set value + 1).
The duty factor is (CRn1 set value + 1)/(CRn0 set value + 1).
OSPTn
0
0
0
Figure 7-5. Control Register Settings in PPG Output Operation
(c) 16-bit timer output control registers 0, 1 (TOC0, TOC1)
(a) 16-bit timer mode control registers 0, 1 (TMC0, TMC1)
(b) Capture/compare control registers 0, 1 (CRC0, CRC1)
OSPEn
0
0
0
CHAPTER 7 TIMER/COUNTER FUNCTION
TOCn4
User’s Manual U12768EJ4V1UD
0
0
1
TMCn3
LVSn
0/1
1
0
TMCn2
CRCn2
LVRn
0/1
1
0
TMCn1
CRCn1
TOCn1
0
×
1
CRCn0
OVFn
TOEn
0
0
1
CRn0 used as compare register
CRn1 used as compare register
Clears and starts on
match between TMn
and CRn0.
Enables TOn output.
Reverses output on
match between TMn
and CRn0.
Specifies initial value of
TOn output F/F.
Reverses output on
match between TMn
and CRn1.
Disables one-shot pulse
output.
× : don’t care

Related parts for upd70f3017ay