Two of the Diamond 108Mini processor core’s unique features are its 32-bit direct input and output ports. The input and output wires on these ports directly connect to special software-visible registers in the processor core and can be used for general-purpose signaling, interrupt generation, serial communications, pulse-width modulation, and other sorts of status and control functions on the SOC. Special instructions read and manipulate the contents of these port registers. Table 7.5 lists these port instructions.
|CLRB_EXPSTATE||Clear any bit in the output-port register. Leave other bits unchanged.|
|SETB_EXPSTATE||Set any one bit ...|