| Electronic Components Datasheet Search |
|
CS61581 Datasheet(PDF) 23 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS61581 Datasheet(HTML) 23 Page - Cirrus Logic |
|
23 / 37 page ![]() CS61581 DS211PP8 23 2.21 Interrupts An interrupt will occur (INT pulls low) in response to a change in the LOS, AIS or NLOOP bits. The interrupt is cleared when the host processor writes a “1” to the respective bit in the control register. Writing a “1” to LOS or NLOOP over the serial in- terface has three effects: 1) The current interrupt on the serial interface will be cleared. (Note that simply reading the regis- ter bits will not clear the interrupt). 2) Output data bits 5, 6 and 7 will be reset as ap- propriate. 3) Interrupts for the corresponding LOS and NLOOP will be prevented from occurring. Writing a “0” to either LOS or NLOOP enables the corresponding interrupt for LOS and NLOOP. Reading the registers returns their current status or setting. Register 0x10 outputs the status NLOOP and LOS and has bits 5, 6, and 7 encoded as shown in Tables 4 and 5. 3. QRSS TEST MODE In Host Mode, the CS61581 has the capability to generate and detect a QRSS (220-1 with 14 zeros _PATH bit (CR3.7) determines whether the pattern is transmitted on TTIP/TRING or RPOS/RNEG. Errors can be inserted and counted in the pattern. The QRSS test mode is controlled through Control Register 3, address 0x14. Setting QGEN to 1 (CR3.1 = 1) initiates the pattern output. The QRSS pattern detector is enabled by writing a 1 to QDET (CR3.4 = 1). When the detector synchronizes to an input pattern, QSYNC is set to 1. Errors detected in the received QRSS pattern are counted and stored in the Data Pattern Error Count, DPEC, register at address 0x15. An error can be inserted in the output data pattern by setting INS_QERR bit to 1 then 0. The number of errors accumulated by the pattern detec- tor are stored in the DPEC register. The DPEC reg- ister will accumulate to all ones, 255 errors, and stay at that level until reset. The DPEC register is reset to zero by setting the RST_QERR bit to 1 (CR3.3 = 1) Table 4. Register 0x10 Decoding Bits Long Haul Mode Status 765 0 0 0 Reset has occurred, or no program input 001 RLOOP active 0 1 0 LLOOP active 0 1 1 LOS has changed state since last Clear LOS occurred 100 TAOS active 1 0 1 NLOOP has changed state since last Clear NLOOP occurred 1 1 0 TAOS and LLOOP active 1 1 1 LOS and NLOOP have both changed state since last Clear NLOOP and Clear LOS Table 5. Register 0x10 Decoding Bits Short Haul Mode Status 765 0 0 0 Reset has occurred, or no program input 001 RLOOP active 010 LLOOP active 0 1 1 LOS has changed state since last Clear LOS occurred 100 TAOS active 1 0 1 Not used 1 1 0 TAOS and LLOOP active 1 1 1 Not Used CS61581 DS211F1 23 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |