| Electronic Components Datasheet Search |
|
AN3288 Datasheet(PDF) 16 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3288 Datasheet(HTML) 16 Page - STMicroelectronics |
|
16 / 27 page ![]() Special features AN3288 16/27 Doc ID 18011 Rev 2 Figure 12. Direction-defining state machine block diagram The following is the code enabling this feature: /* the direction identification algorithm starts above and below the activation thresholds */ if((acc< activ_neg)||(acc> activ_pos)) { area += (acc); /* defining of 2 saturation values (positive and negative) */ if(area>satur_pos) area= satur_pos; else if(area<satur_neg) area= satur_neg; } if(area>0) /* if area >0 --> "FORWARD" direction */ state = ACTUATE_FORWARD; else if(area<0) /* if area <0 --> "REVERSE" direction */ state = ACTUATE_REVERSE; else state = WAIT; |
|
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 |