| Electronic Components Datasheet Search |
|
33991 Datasheet(PDF) 32 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
33991 Datasheet(HTML) 32 Page - Freescale Semiconductor, Inc |
|
32 / 36 page ![]() Analog Integrated Circuit Device Data 32 Freescale Semiconductor 33991 TIMING DESCRIPTIONS AND DIAGRAMS SAMPLE CODE /* Step 8 */ Command_Gauge(0x80,0x03); /* Send RTZ to Gauge 1 */ /* Step 9 */ Command_Gauge(0x10,0x00); /* Null Read to get status */ /* Read Status until RTZ is done */ While ((status & 0x08) != 0) {Command_Gauge(0x10,0x00);} /* Step 10 */ Command_Gauge(0x23,0xFF); /* Send velocity */ /* Step 11 */ Command_Gauge(0x4F,0xFF); /* Send position to gauge0 */ /*Check SO bits for Out of Range Vpwr and Overtemperature */ If((status & 0x40) != 0) /* If bit ST6 is logic 1 then RTZ after valid Vpwr */ If((status & 0x01) != 0) /* If bit ST0 is logic 1 then enable driver again. /* If ST0 continues to indicate over temperature, then shut down Gauge 0. */ /* If ST2 returns to normal, then reestablish the zero reference by RTZ command. */ /* Step 12 */ Command_Gauge(0x6F,0xFF); /* Send position to gauge1 */ /*Check SO bits for Out of Range Vpwr and Over-Temperature */ If((status & 0x40) != 0) /* If bit ST6 is logic 1 then RTZ after valid Vpwr */ If((status & 0x01) != 0) /* If bit ST0 is logic 1 then enable driver again. /* If ST0 continues to indicate Over-Temperature, then shut down Gauge 1. */ /* If ST2 returns to normal, then reestablish the zero reference by RTZ command. */ /* Step 13 */ Command_Gauge(0x40,0x00); /* Send position to Gauge 0 */ /* Return the pointers close to zero position */ Command_Gauge(0x40,0x18); /* Send position to Gauge 0 */ /* Move the pointer at least 24 microsteps CW to the nearest full step */ /* Step 14 */ Command_Gauge(0x60,0x00); /* Send position to Gauge 1 */ /* Return the pointers close to zero position */ Command_Gauge(0x60,0x18); /* Send position to Gauge 1 */ /* Move the pointer at least 24 microsteps CW to the nearest full step */ /* Check SO bit ST4 to see if Gauge 0 has moved */ If((status & 0x10) != 0) /* If ST4 is logic 1 then Gauge 0 has moved to the first microstep */ |
|
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 |