UPD78F9221CS-CAC-A Renesas Electronics America, UPD78F9221CS-CAC-A Datasheet - Page 105

no-image

UPD78F9221CS-CAC-A

Manufacturer Part Number
UPD78F9221CS-CAC-A
Description
MCU 8BIT 2KB FLASH 20PIN
Manufacturer
Renesas Electronics America
Series
78K0S/Kx1+r
Datasheet

Specifications of UPD78F9221CS-CAC-A

Core Processor
78K0S
Core Size
8-Bit
Speed
10MHz
Connectivity
LIN, UART/USART
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
2KB (2K x 8)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 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
-
6.4.3
counter 00 (TM00).
restarting the timer in synchronization with the edge of the signal input to the TI000 pin.
the necessary pulse width. Clear the overflow flag after checking it.
prescaler mode register 00 (PRM00) and the valid level of the TI000 or TI010 pin is detected twice, thus eliminating
noise with a short pulse width.
It is possible to measure the pulse width of the signals input to the TI000 pin and TI010 pin using 16-bit timer
There are two measurement methods: measuring with TM00 used in free-running mode, and measuring by
When an interrupt occurs, read the valid value of the capture register, check the overflow flag, and then calculate
The capture operation is not performed until the signal pulse width is sampled in the count clock cycle selected by
The basic operation setting procedure is as follows.
<1> Set the CRC00 register (see Figures 6-18, 6-21, 6-23, and 6-25 for the set value).
<2> Set the count clock by using the PRM00 register.
<3> Set the TMC00 register to start the operation (see Figures 6-18, 6-21, 6-23, and 6-25 for the set value).
Caution To use two capture registers, set the TI000 and TI010 pins.
Remarks 1. For the setting of the TI000 (or TI010) pin, see 6.3 (5) Port mode register 3 (PM3).
Setting
Pulse width measurement operations
Rising edge detection
2. For how to enable the INTTM000 (or INTTM010) interrupt, see CHAPTER 12
FUNCTIONS.
Count clock
INTTM010
Figure 6-17. CR010 Capture Operation with Rising Edge Specified
CR010
TM00
TI000
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
N
3
User’s Manual U16898EJ6V0UD
N
2
N
1
N
N
N + 1
INTERRUPT
103

Related parts for UPD78F9221CS-CAC-A