データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

STC89C53RC データシート(PDF) 13 Page - STCmicro Technology Co,.Ltd

部品番号 STC89C53RC
部品情報  Enhanced 80C51 Central Processing Unit ,6T or 12T per machine cycle
PDF  165 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STC [STCmicro Technology Co,.Ltd]
ホームページ  http://www.stcmicro.com/
Logo STC - STCmicro Technology Co,.Ltd

STC89C53RC データシート(HTML) 13 Page - STCmicro Technology Co,.Ltd

Back Button STC89C53RC Datasheet HTML 9Page - STCmicro Technology Co,.Ltd STC89C53RC Datasheet HTML 10Page - STCmicro Technology Co,.Ltd STC89C53RC Datasheet HTML 11Page - STCmicro Technology Co,.Ltd STC89C53RC Datasheet HTML 12Page - STCmicro Technology Co,.Ltd STC89C53RC Datasheet HTML 13Page - STCmicro Technology Co,.Ltd STC89C53RC Datasheet HTML 14Page - STCmicro Technology Co,.Ltd STC89C53RC Datasheet HTML 15Page - STCmicro Technology Co,.Ltd STC89C53RC Datasheet HTML 16Page - STCmicro Technology Co,.Ltd STC89C53RC Datasheet HTML 17Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 165 page
background image
void main (void)
{
unsigned char
j = 0;
unsigned char
wakeup_counter = 0;
//clear interrupt wakeup counter variable wakeup_counter
Begin_LED = 0;
//system start-up LED
INT_System_init ( );
//Interrupt system initialization
while(1)
{
P2 = wakeup_counter;
wakeup_counter++;
for(j=0; j<2; j++)
{
Normal_Work_Flashing( );
//System normal work
}
Is_Power_Down = 1;
//Set this bit before go into Power-down mode
PCON
= 0x02;
//after this instruction, MCU will be in power-down mode
//external clock stop
_nop_( );
_nop_( );
_nop_( );
_nop_( );
}
}
void INT_System_init (void)
{
IT0
= 0;
/* External interrupt 0, low electrical level triggered */
//
IT0
= 1;
/* External interrupt 0, negative edge triggered */
EX0
= 1;
/* Enable external interrupt 0
IT1
= 0;
/* External interrupt 1, low electrical level triggered */
//
IT1
= 1;
/* External interrupt 1, negative edge triggered */
EX1
= 1;
/* Enable external interrupt 1
EA
= 1;
/* Set Global Enable bit
}
void INT0_Routine (void) interrupt 0
{
if (Is_Power_Down)
{
//Is_Power_Down ==1;
/* Power-Down wakeup on INT0 */
Is_Power_Down = 0;
Is_Power_Down_LED_INT0 = 0;
/*open external interrupt 0 Power-Down wake-up LED indicator */
while (Power_Down_Wakeup_Pin_INT0 == 0)
{
/* wait higher */
}
Is_Power_Down_LED_INT0 = 1;
/* close external interrupt 0 Power-Down wake-up LED indicator */
}
13



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com