CDEF flag seems non functional. Flag is always 0. I have my processor in an endless loop doing nothing and my encoder is connected. QPOSCNT is incirmenting and decrimenting but CDEF flag is not getting set. Is there another bit that needs to be set for this flag to be functional? I don't see anything indicating that in the manual.