Electronic Components Datasheet Search
  English  ▼

X  

AN2512 Datasheet(PDF) 33 Page - STMicroelectronics

Part # AN2512
Description  This application note describes how to design
PDF  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2512 Datasheet(HTML) 33 Page - STMicroelectronics

Back Button AN2512 Datasheet HTML 29Page - STMicroelectronics AN2512 Datasheet HTML 30Page - STMicroelectronics AN2512 Datasheet HTML 31Page - STMicroelectronics AN2512 Datasheet HTML 32Page - STMicroelectronics AN2512 Datasheet HTML 33Page - STMicroelectronics AN2512 Datasheet HTML 34Page - STMicroelectronics AN2512 Datasheet HTML 35Page - STMicroelectronics AN2512 Datasheet HTML 36Page - STMicroelectronics AN2512 Datasheet HTML 37Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 38 page
background image
AN2512
Example of source code
33/38
}
}
else {
if (e->frac[i] < ELIMIT)
return(0);
// no, is within the limit?
else {
e->frac[i] -= ELIMIT;
(e->integ[i])++;
// no, subtract it and increment
}
}
}
e->frac[3] += (long int)e->quot[3];
// add quot to frac
led_frac += (Long int)e->quot[0];
if (led_frac >= MeterConstant) {
//MeterConstant = 0x1f400 //128000
0x4000)
GPIO0->PD ^= 0x1000;
//GPIO0.12
Active engergy output
led_frac -= MeterConstant;
//0x4000;
}
if (e->frac[3] >= ELIMIT) {
e->frac[3] -= ELIMIT;
(e->integ[3])++;
// no, subtract it and increment
lTotal[0] ++;
}
/*caculate the 3 phase total energy, and generate the output pulse*/
return(1);
// return limit has been reached
}



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


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