5 tc channel mode register: waveform mode – Rainbow Electronics AT91CAP9S250A User Manual

Page 669

Advertising
background image

669

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

38.6.5

TC Channel Mode Register: Waveform Mode

Register Name:

TC_CMR

Access Type:

Read/Write

• TCCLKS: Clock Selection

• CLKI: Clock Invert

0 = Counter is incremented on rising edge of the clock.

1 = Counter is incremented on falling edge of the clock.

• BURST: Burst Signal Selection

• CPCSTOP: Counter Clock Stopped with RC Compare

0 = Counter clock is not stopped when counter reaches RC.

1 = Counter clock is stopped when counter reaches RC.

• CPCDIS: Counter Clock Disable with RC Compare

0 = Counter clock is not disabled when counter reaches RC.

1 = Counter clock is disabled when counter reaches RC.

31

30

29

28

27

26

25

24

BSWTRG

BEEVT

BCPC

BCPB

23

22

21

20

19

18

17

16

ASWTRG

AEEVT

ACPC

ACPA

15

14

13

12

11

10

9

8

WAVE = 1

WAVSEL

ENETRG

EEVT

EEVTEDG

7

6

5

4

3

2

1

0

CPCDIS

CPCSTOP

BURST

CLKI

TCCLKS

TCCLKS

Clock Selected

0

0

0

TIMER_CLOCK1

0

0

1

TIMER_CLOCK2

0

1

0

TIMER_CLOCK3

0

1

1

TIMER_CLOCK4

1

0

0

TIMER_CLOCK5

1

0

1

XC0

1

1

0

XC1

1

1

1

XC2

BURST

0

0

The clock is not gated by an external signal.

0

1

XC0 is ANDed with the selected clock.

1

0

XC1 is ANDed with the selected clock.

1

1

XC2 is ANDed with the selected clock.

Advertising