23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Under development<br />

8.2.1.5 TMRB flip-flop control register (channels 0 through 9)<br />

TBnFFCR<br />

(0x4001_0xx0)<br />

bit Symbol<br />

TMRBn flip-flop control register (n=0~9)<br />

31 30 29 28 27 26 25 24<br />

Read/Write R R R R R R R R<br />

After reset 0 0 0 0 0 0 0 0<br />

23 22 21 20 19 18 17 16<br />

bit Symbol<br />

Read/Write R R R R R R R R<br />

After reset 0 0 0 0 0 0 0 0<br />

15 14 13 12 11 10 9 8<br />

bit Symbol<br />

Read/Write R R R R R R R R<br />

After reset 0 0 0 0 0 0 0 0<br />

7 6 5 4 3 2 1 0<br />

bit Symbol TBnC1T1 TBnC0T1 TBnE1T1 TBnE0T1 TBnFF0C1 TBnFF0C0<br />

Read/Write R R/W R/W<br />

After reset 1 1 0 0 0 0 1 1<br />

“11” is read.<br />

TBnFF0 reverse trigger<br />

0: Disable trigger<br />

1: Enable trigger<br />

TBnFF0 control<br />

00: Invert<br />

01: Set<br />

10: Clear<br />

Function<br />

When the When the When the When the 11: Don't care<br />

up-counter<br />

value is<br />

up-counter<br />

value is<br />

up-counter<br />

matches<br />

up-counter<br />

matches<br />

* This is always read as<br />

taken into<br />

TBnCP1<br />

taken into<br />

TBnCP0<br />

TBnRG1 TBnRG0 “11.”<br />

:Controls the timer flip-flop.<br />

“00”: Reverses the value of TBnFF0 (reverse by using software).<br />

“01”: Sets TBnFF0 to “1”.<br />

“10”: Clears TBnFF0 to “0”.<br />

“11”:Don’t care<br />

<strong>TMPM330</strong> (rev 0.4)8-12<br />

<strong>TMPM330</strong><br />

:Reverses the timer flip-flop when the up-counter matches the timer register 0,1 (TBnRG0,1).<br />

:Reverses the timer flip-flop when the up-counter value is taken into the capture register 0,1<br />

(TBnCP0,1).<br />

16-bit Timer/<br />

Event Counters (TMRBs)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!