upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 178

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.5 Operation to output square wave
advance to 16-bit capture/compare register n0 (CRn0).
TOn pin is reversed at the interval specified by the count value set in advance to CRn1. In this way, a square wave of
any frequency can be output.
178
TMCn
CRCn
TOCn
TMn can be used to output a square wave with any frequency at the interval specified by the count value set in
By setting bits 0 (TOEn) and 1 (TOCn1) of 16-bit timer output control register n (TOCn) to 1, the output status of the
Remark
Remark
n = 0, 1
0
0
0
0/1: When these bits are reset to 0 or set to 1, other functions can be used along with the square
OSPTn
Figure 7-19. Control Register Settings in Square Wave Output Mode
wave output function. For details, refer to 7.1.4 (1) 16-bit timer mode control registers 0, 1
(TMC0, TMC1), 7.1.4 (2) Capture/compare control registers 0, 1 (CRC0, CRC1), and 7.1.4
(3) 16-bit timer output control registers 0, 1 (TOC0, TOC1).
0
0
0
(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
0
TMCn3
LVSn
0/1
1
0
TMCn2
CRCn2
LVRn
0/1
0/1
1
TMCn1
CRCn1
TOCn1
0/1
0
1
CRCn0
OVFn
TOEn
0
1
1
Clears and starts on
match between TMn
and CRn0.
CRn0 used as compare
register
Enables TOn output.
Reverses output on
match between TMn
and CRn0.
Specifies initial value of
TOn output F/F.
Does not reverse output
on match between TMn
and CRn1.
Disables one-shot pulse
output.

Related parts for upd70f3017ay