18.3.15 CIC Filter Input Timeout Counter Register

Note:
  1. The FILTOPR bit value may not be modified when the ON (CICCON1[15]) bit is set. This bitfield should not be written when FILTOEN(CICCON1[5]) = 1.

Legend: HC = bit is Cleared by Hardware; HS = bit is Set by Hardware; S = bit can be Set only; R = Readable bit; W = Writable bit; U = Unimplemented bit, read as '0'; -n = Value at POR; '1' = bit is set; '0' = bit is cleared; x = bit value is unknown

Name: CICTIMEOUT
Offset: 0x001FC8

Bit 3130292827262524 
 FILTOCNT[15:0] 
Access R/HS/HCR/HS/HCR/HS/HCR/HS/HCR/HS/HCR/HS/HCR/HS/HCR/HS/HC 
Reset 00000000 
Bit 2322212019181716 
 FILTOCNT[15:0] 
Access R/HS/HCR/HS/HCR/HS/HCR/HS/HCR/HS/HCR/HS/HCR/HS/HCR/HS/HC 
Reset 00000000 
Bit 15141312111098 
 FILTOPR[12:5] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 FILTOPR[4:0]    
Access R/WR/WR/WR/WR/W 
Reset 10000 

Bits 31:16 – FILTOCNT[15:0] CIC Filter Input Timeout Counter bits

This counter is clocked from the system clock. If FILTOEN(CICCON1[5]) = 1 and FILTOPR(CICTIMEOUT[15:3]) is not 0x0000, the filter input timeout counter will be reset and will begin counting when one of the CIC filter input channels receives valid data from the ADC. The counter will stop when valid data input on the other CIC channel is asserted.

Bits 15:8 – FILTOPR[12:5]  CIC Filter Input Timeout Period bits(1)

Sets the time period in 8x multiples of the system clock before the filter interrupt timeout is triggered. The counter FILTOCNT will begin counting when the first data is received on any CIC input channel. If the counter value counts FILTOPR cycles before the data input is available on the other enabled channel, the FILTOERR(CICSTAT[19]) bit will be set and an error interrupt will be triggered.

ValueDescription
0x1fff

An error will be triggered if 65528 (0x1FFF * 8) clock cycles elapse between the valid data input on one of the CIC channels and the valid data input on the other CIC channel.

0x0002

An error will be triggered if 16 (0x0002 * 8) clock cycles elapse between the valid data input on one of the CIC channels and the valid data input on the other CIC channel.

0x0001

An error will be triggered if 8 (0x0001 * 8) clock cycles elapse between the valid data input on one of the CIC channels and the valid data input on the other CIC channel.

0x0000

Timeout is disabled. Setting FILTOPR to zero has the same effect as setting FILTOEN to 0.

Bits 7:3 – FILTOPR[4:0]  CIC Filter Input Timeout Period bits(1)

Sets the time period in 8x multiples of the system clock before the filter interrupt timeout is triggered. The counter FILTOCNT will begin counting when the first data is received on any CIC input channel. If the counter value counts FILTOPR cycles before the data input is available on the other enabled channel, the FILTOERR(CICSTAT[19]) bit will be set and an error interrupt will be triggered.

ValueDescription
0x1fff

An error will be triggered if 65528 (0x1FFF * 8) clock cycles elapse between the valid data input on one of the CIC channels and the valid data input on the other CIC channel.

0x0002

An error will be triggered if 16 (0x0002 * 8) clock cycles elapse between the valid data input on one of the CIC channels and the valid data input on the other CIC channel.

0x0001

An error will be triggered if 8 (0x0001 * 8) clock cycles elapse between the valid data input on one of the CIC channels and the valid data input on the other CIC channel.

0x0000

Timeout is disabled. Setting FILTOPR to zero has the same effect as setting FILTOEN to 0.