rej05b0272_r8cap| Application Note

rej05b0272_r8cap PDF

rej05b0272_r8cap| Application Note


APPLICATION NOTE

R8C/11 GROUP
SAMPLE PROGRAM THREE MINUTES TIMER
1. Abstract
Three minutes timer uses below functions. Timer X ( Timer mode ) Timer Z ( Programmable waveform generation mode )

REJ05B0272-0110Z Rev.1.10 Nov 10, 2003

2. Introduction Operation (1) Three minutes timer is divided by three mode.
Standby mode Three minutes timer mode

SW2(KI0)

Reset cancellation

Standby mode

Press key

Three minutes timer mode

SW3(INT0) Press key

(2) After the reset cancellation, the microcomputer changes to standby mode. (3) When pressing SW2(K10) in standby mode, the microcomputer changes to three minutes timer mode. (4) The microcomputer executes three minutes count operation in three minutes timer mode. (5) When the microcomputer completes three minutes count operation, buzzer sounds two times and the microcomputer places in standby mode. ( Buzzer detailed operation is described as following ) (6) When pressing SW3(INT0) in three minutes timer mode, the microcomputer changes to standby mode. (7) The key input samples by 10ms periods and confirms by three times match (chattering removal ) (8) The input keys, SW2(KI0) and SW3(INT0) are "L" active("L": with pushing "H": without pushing ). (9) In three minutes timer mode, the LED indicates as below. LED indication for elapsed time : More than 2 minutes left More than 1 minute left More than 10 seconds left Less than 10 seconds left
0 second left ( during buzzer sounds )

LED1(Red) Turn off Turn off Turn off Turn off Turn on

LED2(Green) 500ms Period blinking 500ms Period blinking 500ms Period blinking 250ms Period blinking Turn off

LED3(Green) 500msPeriod blinking 500msPeriod blinking Turn off Turn off Turn off

LED4(Green) 500ms Period blinking Turn off Turn off Turn off Turn off

REJ05B0272-0110Z/Rev.1.10

November 2003

Page 1 of 22


rej05b0272_r8cap Application Note renesas Download PDF

Add this permalink to your bookmarks for future download of rej05b0272_r8cap ApplicationNote

Permalink: http://application.emcelettronica.com/renesas/rej05b0272_r8cap

PDF rej05b0272_r8cap APPLICATION NOTE