67.7.10 TC Interrupt Status Register

Name: TC_SRx
Offset: 0x20 + x*0x40 [x=0..2]
Reset: 0x00000000
Property: Read-only

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
      MTIOBMTIOACLKSTA 
Access RRR 
Reset 000 
Bit 15141312111098 
        SECE 
Access R 
Reset 0 
Bit 76543210 
 ETRGSLDRBSLDRASCPCSCPBSCPASLOVRSCOVFS 
Access RRRRRRRR 
Reset 00000000 

Bit 18 – MTIOB TIOBx Mirror

ValueDescription
0 TIOBx is low. If TC_CMRx.WAVE = 0, TIOBx pin is low. If TC_CMRx.WAVE = 1, TIOBx is driven low.
1 TIOBx is high. If TC_CMRx.WAVE = 0, TIOBx pin is high. If TC_CMRx.WAVE = 1, TIOBx is driven high.

Bit 17 – MTIOA TIOAx Mirror

ValueDescription
0 TIOAx is low. If TC_CMRx.WAVE = 0, TIOAx pin is low. If TC_CMRx.WAVE = 1, TIOAx is driven low.
1 TIOAx is high. If TC_CMRx.WAVE = 0, TIOAx pin is high. If TC_CMRx.WAVE = 1, TIOAx is driven high.

Bit 16 – CLKSTA Clock Enabling Status

ValueDescription
0 The clock is disabled.
1 The clock is enabled.

Bit 8 – SECE Security and/or Safety Event (cleared on read)

ValueDescription
0 No security or safety event occurred.
1 One or more safety or security event occurred since the last read of TC_SRx. For details on the event, see TC_SSRx.

Bit 7 – ETRGS External Trigger Status (cleared on read)

ValueDescription
0 External trigger has not occurred since the last read of the Status register.
1 External trigger has occurred since the last read of the Status register.

Bit 6 – LDRBS RB Loading Status (cleared on read)

ValueDescription
0 RB Load has not occurred since the last read of the Status register or TC_CMRx.WAVE = 1.
1 RB Load has occurred since the last read of the Status register, if TC_CMRx.WAVE = 0.

Bit 5 – LDRAS RA Loading Status (cleared on read)

ValueDescription
0 RA Load has not occurred since the last read of the Status register or TC_CMRx.WAVE = 1.
1 RA Load has occurred since the last read of the Status register, if TC_CMRx.WAVE = 0.

Bit 4 – CPCS RC Compare Status (cleared on read)

ValueDescription
0 RC Compare has not occurred since the last read of the Status register.
1 RC Compare has occurred since the last read of the Status register.

Bit 3 – CPBS RB Compare Status (cleared on read)

ValueDescription
0 RB Compare has not occurred since the last read of the Status register or TC_CMRx.WAVE = 0.
1 RB Compare has occurred since the last read of the Status register, if TC_CMRx.WAVE = 1.

Bit 2 – CPAS RA Compare Status (cleared on read)

ValueDescription
0 RA Compare has not occurred since the last read of the Status register or TC_CMRx.WAVE = 0.
1 RA Compare has occurred since the last read of the Status register, if TC_CMRx.WAVE = 1.

Bit 1 – LOVRS Load Overrun Status (cleared on read)

ValueDescription
0 Load overrun has not occurred since the last read of the Status register or TC_CMRx.WAVE = 1.
1 RA or RB have been loaded at least twice without any read of the corresponding register since the last read of the Status register, if TC_CMRx.WAVE = 0.

Bit 0 – COVFS Counter Overflow Status (cleared on read)

ValueDescription
0 No counter overflow has occurred since the last read of the Status register.
1 A counter overflow has occurred since the last read of the Status register.