| Electronic Components Datasheet Search |
|
STC12LE5616AD Datasheet(PDF) 327 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5616AD Datasheet(HTML) 327 Page - STCmicro Technology Co,.Ltd |
|
327 / 377 page ![]() void main(void) { unsigned char i = 0; serial_port_initial(); //Initial UART display_MCU_Start_Led(); //Turn on the work LED send_UART(0x34);//Send UART test data send_UART(0xa7); // Send UART test data while (1); } void send_UART(unsigned char i) { ES = 0; //Disable serial interrupt TI = 0; //Clear TI flag SBUF = i; //send this data while (!TI); //wait for the data is sent TI = 0; //clear TI flag ES = 1; //enable serial interrupt } void UART_Interrupt)Receive(void) interrupt 4 using 1 { unsigned char k = 0; if (RI) { RI = 0; k = SBUF; if (k == Self_Define_ISP_Command) //check the serial data { delay(); //delay 1s delay(); //delay 1s soft_reset_to_ISP_Monitor(); } } if (TI) { TI = 0; } } void soft_reset_to_ISP_Monitor(void) { IAP_CONTR = 0x60; //0110,0000 soft reset system to run ISP monitor } 327 |
|
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 |
| 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 |