UPD78F0034BGC-8BS-A Renesas Electronics America, UPD78F0034BGC-8BS-A Datasheet - Page 239

no-image

UPD78F0034BGC-8BS-A

Manufacturer Part Number
UPD78F0034BGC-8BS-A
Description
MCU 8-Bit 78K0 CISC 32KB Flash 2.5V/3.3V/5V 64-Pin LQFP
Manufacturer
Renesas Electronics America
Datasheet

Specifications of UPD78F0034BGC-8BS-A

Package
64LQFP
Family Name
78K0
Maximum Speed
12 MHz
Ram Size
1 KB
Program Memory Size
32 KB
Operating Supply Voltage
2.5|3.3|5 V
Data Bus Width
8 Bit
Program Memory Type
Flash
Number Of Programmable I/os
51
Interface Type
3-Wire/UART
On-chip Adc
8-chx10-bit
Operating Temperature
-40 to 85 °C
Number Of Timers
3

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0034BGC-8BS-A
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
UPD78F0034BGC-8BS-A
Quantity:
9
Part Number:
UPD78F0034BGC-8BS-A(MS)
Manufacturer:
NEC
Quantity:
8 000
9.5.2 External event counter
/***************************************************************/
/*
/*
/*
/*
/*
/***************************************************************/
#pragma sfr
#pragma EI
#pragma DI
#pragma interrupt INTTM50 intervalint rb2
void main(void)
{
/*************************************************************/
/*
/*
/*
/*************************************************************/
/*************************************************************/
/*
/*
/*
/*************************************************************/
}
/* INTTM50 interrupt function */
void intervalint()
{
}
Describe the processing to be executed
Describe the processing after count up below
unsigned char data;
PCC = 0x0;
data = 0;
PM7.2 = 1;
TMMK50 = 0;
TMC50 = 0b00000000;
TCL50 = 0b00000001;
CR50 = 0x10;
TCE50 = 1;
EI();
while(data == 0);
data = 0xff;
TCE50 = 0;
Event counter setting example
data: Count up flag
Timer 50 operation sample
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 50, 51
User’s Manual U14046EJ5V0UD
/* Data area */
/* Set high-speed operation mode */
/* Clear data area */
/* Set port
/* Set P72 to input */
/* Set interrupt
/* Clear INTTM50 interrupt mask
/* Set timer 50
/* Clear & start mode
/* Specify rising edge of TI50
/* Set N = 16 as initial value
/* Timer start
/* Wait for count up */
/* Set count up flag
/* Timer stop
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
237

Related parts for UPD78F0034BGC-8BS-A