Section 5 — Programming
5-21
esp_set_ampio_config Set Amplifier I/O Configuration Register
esp_get_ampio_config Report Amplifier I/O Configuration Register (Continued)
18
1
reserved
•
•
•
31
0
reserved
31
1
reserved
Returns:
ESPOK, ESPERROR
Hint:
Usage Example:
#include “esp6000.h”
main()
{
if (!esp_init_system())
{
printf(“ESP6000 Not Initialized! \r\n”);
exit(-1);
}
/* Disable Motor & Flag Error On Amp Fault */
esp_set_ampio_config(1,0x0b);
}
See Also:
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com