Page 14
IR104-V4 User Guide
Rev A
Input Change Flags (ICF)
When a change is detected on one of the inputs, the corresponding bit in the ICF register is set to logic “1”.
The input change flags are accessed through I/O reads and are grouped in two banks of eight and one bank of
four.
Bank
SD7
SD6
SD5
SD4
SD3
SD2
SD1
SD0
ICF Bank 1
Flag 8
Flag 7
Flag 6
Flag 5
Flag 4
Flag 3
Flag 2
Flag 1
ICF Bank 2
Flag 16
Flag 15
Flag 14
Flag 13
Flag 12
Flag 11
Flag 10
Flag 9
ICF Bank 3
Not used
Not used
Not used
Not used
Flag 20
Flag 19
Flag 18
Flag 17
ICF I/O Map
Note
An input change flag can be cleared by reading the corresponding input bank.
3 Configuration
ICF Grouping
Bank
Flags
Address
ICF Bank 1
F1 to F8
I/O address = Base A 8 (0×08)
ICF Bank 2
F9 to F16
I/O address = Base A 9 (0×09)
ICF Bank 3
F17 to F20
I/O address = Base A 10 (0×0A)
Note
The I/O address is an
offset from the base
decoded address.
Bank
SD7
SD6
SD5
SD4
SD3
SD2
SD1
SD0
DIR Bank 1
Input 8
Input 7
Input 6
Input 5
Input 4
Input 3
Input 2
Input 1
DIR Bank 2
Input 16
Input 15
Input 14
Input 13
Input 12
Input 11
Input 10
Input 9
DIR Bank 3
Not used
Not used
Not used
Not used
Input 20
Input 19
Input 18
Input 17
DIR I/O Map
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com