I/O
The table below describes details about the I/O child elements ef, in, iogroup and out. Format and function of these are the same when used in any element. Note that the address options for input and output functions is only available for a limited number of I/O configurations.
child element | attribute | value | description |
---|---|---|---|
ef | iogroup, pol, q | flag (1 to 4) | Definition of one EF flag. The attribute q can be used if the EF flag has a different function depending on the value of the Q flag. Attribute pol="rev" will reverse polarify of the EF flag. Attribute iogroup="no" will decouple the specified EF flag from the defined I/O group. |
in | type, addressmask, mask, q | port (1 to 7) or address (0 to 0xFFFF) | To define an address as an input use type="address" or a value > 7. The attribute q can be used if the in port has a different function depending on the value of the Q flag. The mask attribute defines the data mask, e,g, mask="0xF" will only use lowest 4 bits of the in port. The address mask will do the same for when an address input is defined. Multiple ports can be defined for the same function, to do so use multiple numbers separated by a comma. |
io | addressmask, mask, q | port (1 to 7) | The attribute q can be used if the I/O (in and out) port has a different function depending on the value of the Q flag. The mask attribute defines the data mask, e,g, mask="0xF" will only use lowest 4 bits of the I/O port. Multiple ports can be defined for the same function, to do so use multiple numbers separated by a comma. |
iogroup | group number (8 bit) | This element is used in combination with the iogroup element as described on the main page: XML - Main Elements. The group number is the value that is send to the IoGroup output port (defined in the main iogroup element) to enable a specific I/O group. Multiple group numbers can be defined for the same function, to do so use multiple numbers separated by a comma. | |
out | type, addressmask, mask, q | port (1 to 7) or address (0 to 0xFFFF) | To define an address as an ouput use type="address" or a value > 7. The attribute q can be used if the out port has a different function depending on the value of the Q flag. The mask attribute defines the data mask, e,g, mask="0xF" will only use lowest 4 bits of the out port. The address mask will do the same for when an address output is defined. Multiple ports can be defined for the same function, to do so use multiple numbers separated by a comma. |