Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STC12LE5616AD Datasheet(PDF) 42 Page - STCmicro Technology Co,.Ltd

Part # STC12LE5616AD
Description  Enhanced 8051 Central Processing Unit ,1T per machine cycle, faster 8~12 times than the rate of a standard 8051.
PDF  377 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STC [STCmicro Technology Co,.Ltd]
Direct Link  http://www.stcmicro.com/
Logo STC - STCmicro Technology Co,.Ltd

STC12LE5616AD Datasheet(HTML) 42 Page - STCmicro Technology Co,.Ltd

Back Button STC12LE5616AD Datasheet HTML 38Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 39Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 40Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 41Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 42Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 43Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 44Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 45Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 46Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 377 page
background image
The following example C program demostrates that power-down mode be woken-up by external interrupt .
/*--------------------------------------------------------------------------------*/
/* --- STC MCU International Limited -----------------------------------*/
/* --- STC 1T Series MCU wake up Power-Down mode Demo ------*/
/* If you want to use the program or the program referenced in the */
/* article, please specify in which data and procedures from STC */
/*-------------------------------------------------------------------------------*/
#include <reg51.h>
#include <intrins.h>
sbit
Begin_LED = P1^2;
//Begin-LED indicator indicates system start-up
unsigned char
Is_Power_Down = 0;
//Set this bit before go into Power-down mode
sbit
Is_Power_Down_LED_INT0
= P1^7; //Power-Down wake-up LED indicator on INT0
sbit
Not_Power_Down_LED_INT0
= P1^6; //Not Power-Down wake-up LED indicator on INT0
sbit
Is_Power_Down_LED_INT1
= P1^5; //Power-Down wake-up LED indicator on INT1
sbit
Not_Power_Down_LED_INT1
= P1^4; //Not Power-Down wake-up LED indicator on INT1
sbit
Power_Down_Wakeup_Pin_INT0
= P3^2; //Power-Down wake-up pin on INT0
sbit
Power_Down_Wakeup_Pin_INT1
= P3^3; //Power-Down wake-up pin on INT1
sbit
Normal_Work_Flashing_LED
= P1^3; //Normal work LED indicator
void Normal_Work_Flashing (void);
void INT_System_init (void);
void INT0_Routine (void);
void INT1_Routine (void);
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
}
42



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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