UPD78F0500AMC-CAB-AX Renesas Electronics America, UPD78F0500AMC-CAB-AX Datasheet - Page 357

no-image

UPD78F0500AMC-CAB-AX

Manufacturer Part Number
UPD78F0500AMC-CAB-AX
Description
MCU 8BIT 30SSOP
Manufacturer
Renesas Electronics America
Series
78K0/Kx2r
Datasheet

Specifications of UPD78F0500AMC-CAB-AX

Core Processor
78K/0
Core Size
8-Bit
Speed
20MHz
Connectivity
3-Wire SIO, I²C, LIN, UART/USART
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
78K0/Kx2
8.4.3 Square-wave output operation
register 5n (CR5n).
(TOE5n) of 8-bit timer mode control register 5n (TMC5n) to 1. This enables a square wave with any selected frequency to
be output (duty = 50%).
R01UH0008EJ0401 Rev.4.01
Jul 15, 2010
A square wave with any selected frequency is output at intervals determined by the value preset to 8-bit timer compare
The TO5n pin output status is inverted at intervals determined by the count value preset to CR5n by setting bit 0
<1> Set each register.
<2> After TCE5n = 1 is set, the count operation starts.
<3> The timer output F/F is inverted by a match of TM5n and CR5n. After INTTM5n is generated, TM5n is cleared to
<4> After these settings, the timer output F/F is inverted at the same interval and a square wave is output from TO5n.
Note 8-bit timer/event counter 50: P17, PM17
Caution Do not write other values to CR5n during operation.
Remarks 1. For how to enable the INTTM5n signal interrupt, see CHAPTER 20 INTERRUPT FUNCTIONS.
Setting
• Clear the port output latch (P17 or P33)
• TCL5n: Select the count clock.
• CR5n:
• TMC5n: Stop the count operation, select the mode in which clear & start occurs on a match of TM5n and
00H.
The frequency is as follows.
• Frequency = 1/2t (N + 1)
8-bit timer/event counter 51: P33, PM33
(N: 00H to FFH)
2. n = 0, 1
Compare value
CR5n.
Timer output enabled
(TMC5n = 00001011B or 00000111B)
LVS5n
0
1
LVR5n
1
0
Timer output F/F clear (0) (default value of TO5n output: low level)
Timer output F/F set (1) (default value of TO5n output: high level)
CHAPTER 8 8-BIT TIMER/EVENT COUNTERS 50 AND 51
Note
and port mode register (PM17 or PM33)
Timer Output F/F Status Setting
Note
to 0.
357

Related parts for UPD78F0500AMC-CAB-AX