beautypg.com

Tc status register – Rainbow Electronics AT75C220 User Manual

Page 117

background image

AT75C220

117

TC Status Register

Register Name:TC_SR
Access Type:Read-only

COVFS: Counter Overflow Status

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.

LOVRS: Load Overrun Status

0 = Load overrun has not occurred since the last read of the Status Register or 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 WAVE = 0.

CPAS: RA Compare Status

0 = RA compare has not occurred since the last read of the Status Register or WAVE = 0.

1 = RA compare has occurred since the last read of the Status Register if WAVE = 1.

CPBS: RB Compare Status

0 = RB compare has not occurred since the last read of the Status Register or WAVE = 0.

1 = RB compare has occurred since the last read of the Status Register if WAVE = 1.

CPCS: RC Compare Status

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.

LDRAS: RA Loading Status

0 = RA Load has not occurred since the last read of the Status Register or WAVE = 1.

1 = RA Load has occurred since the last read of the Status Register, if WAVE = 0.

LDRBS: RB Loading Status

0 = RB load has not occurred since the last read of the Status Register or WAVE = 1.

1 = RB load has occurred since the last read of the Status Register if WAVE = 0.

ETRGS: External Trigger Status

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.

CLKSTA: Clock Enabling Status

0 = Clock is disabled.

1 = Clock is enabled.

MTIOA: TIOA Mirror

0 = TIOA is low. If WAVE = 0, then TIOA pin is low. If WAVE = 1, then TIOA is driven low.

1 = TIOA is high. If WAVE = 0, then TIOA pin is high. If WAVE = 1, then TIOA is driven high.

MTIOB: TIOB Mirror

0 = TIOB is low. If WAVE = 0, then TIOB pin is low. If WAVE = 1, then TIOB is driven low.

1 = TIOB is high. If WAVE = 0, then TIOB pin is high. If WAVE = 1, then TIOB is driven high.

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

MTIOB

MTIOA

CLKSTA

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

ETRGS

LDRBS

LDRAS

CPCS

CPBS

CPAS

LOVRS

COVFS