I/O Operations Overview
AT1000 device has 32 Inputs/outputs (which may be further extended by daisy-chaining multiple devices). Any of those I/Os can be configured as Analog or Digital, independently from the other I/Os.
It's worth noting that, internally, all signals measured or generated by the AT1000 are in essence analog signals. It's only later - in software - that digital thresholds are applied to deduce the logic level, high or low. This gives a lot of flexibility, as any logic level can be defined regardless of the logic standards.
Similarly, digital outputs are generated as analog signals, giving you full granularity over what you consider to be logic "high" and logic "low".
As you will also see in this section, it's possible to synchronize all the outputs so that they change at once (instead of being sequentially updated, one after the other).
Some dedicated pins can be temporarily used for communication interfaces (like SPI, I2C, UART, JTAG) or for PWM. This is done by multiplexing the I/O pins. When a pin is used for a specific purpose, it cannot be used as a general-purpose I/O. It also cannot support the input voltage range of regular I/Os (±25 V). Disabling the communication interface will restore the pin to its original I/O function and voltage range.
Before I2C, SPI, UART or PWM connects its pins, the device measures them. If a pin reads below −0.5 V or above the interface's vcc + 0.5 V (4.6 V at most), enabling the interface, or changing its vcc while it runs, fails with 409 UNSAFE_PIN_VOLTAGE and the interface is left disabled. See pin alternate functions for the pin mapping and the other rules.