[Next] [Previous] [Up] [Top] [Contents] [Back]

5.2.1 Channel Registers

5.2.1.5 Compare State Register

Figure 5-5 Compare State Register

When the digital inputs differ from the values of CDI and CIND written in this register, an interrupt can be generated and a sample of the digital inputs is made in the 'State On IRQ Register'

After an interrupt is generated due to a change of state, a write access to the Compare State Register should be performed before another interrupt will be detected in the specific group. The write access to the Compare State Register will clear the interrupt request to the BIM. If the IRE bit in the Group BIM Control Register is set before the Compare State Register is written, another interrupt will be generated.

CC133 - 12 Channel Incremental Encoder Interface With Isolated Inputs - 30 SEP 1996
Copyright © 1996 Compcontrol, Inc.

[Next] [Previous] [Up] [Top] [Contents] [Back]