beautypg.com

Tmra01 mode register – Toshiba H1 SERIES TLCS-900 User Manual

Page 108

background image

TMP92CM22

2007-02-16

92CM22-106

7 6 5 4 3 2 1 0

Bit symbol

TA01M1

TA01M0

PWM01

PWM00 TA1CLK1

TA1CLK0 TA0CLK1

TA0CLK0

Read/Write R/W

After

reset

0 0 0 0 0 0 0 0

Function Operation

mode

00: 8-bit timer mode
01: 16-bit timer mode
10: 8-bit PPG mode
11: 8-bit PWM mode

PWM cycle

00: Reserved
01: 2

6

10: 2

7

11: 2

8

TMRA1 source clock

00: TA0TRG
01:

φT1

10:

φT16

11:

φT256

TMRA0 source clock

00: TA0IN pin input

(Note)

01:

φT1

10:

φT4

11:

φT16

00

TA0IN (External input)

01

φT1 (Prescaler)

10

φT4 (Prescaler)

11

φT16 (Prescaler)

TA01MOD

≠ 01

TA01MOD

= 01

00

Matching output for TMRA0

01

φT1

10

φT16

11

φT256

Overflow output for TMRA0

(16-bit timer mode)

00

Reserved

01

2

6

× Source clock

10

2

7

× Source clock

11

2

8

× Source clock

00

8-bit timers

× 2ch

01

16-bit timer

10

8-bit PPG

11

8-bit PWM (TMRA0),
8-bit timer (TMRA1)

Note:

When set TA0IN pin, set TA01MOD after set port C.

Figure 3.7.5 Register for TMRA01

TMRA0 input clock

TMRA1 input clock

Select cycle in PWM mode

Select operation mode for TMR01

TMRA01 Mode Register

TA01MOD
(1104H)

This manual is related to the following products: