Timer 6-9 high registers, Timer 6–9 high registers – Digi NS9215 User Manual

Page 170

Advertising
background image

S Y S T E M C O N T R O L M O D U L E

Timer 6–9 High registers

170

Hardware Reference NS9215

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

T i m e r 6 – 9 H i g h r e g i s t e r s

Addresses: A090 0078 / 007C / 0080 / 0084

The Timer 6–9 High registers contains the high registers for the enhanced PWM
features available in timers 6 through 9.

D09:06

R/W

TCS

0x0

Timer clock select
0000

AHB clock x 2 (Not applicable if timer
mode 2 is set to PWM mode (01))

0001

AHB clock

0010

AHB clock / 2

0011

AHB clock / 4

0100

AHB clock / 8

0101

AHB clock / 16

0110

AHB clock / 32

0111

AHB clock / 64

1000

AHB clock / 128

1111

External event

D05:04

R/W

Timer mode 1

0x0

Timer mode 1
00

Internal timer or external event

01

External low-level gated timer

10

External high-level gated timer

11

Concatenate the lower timer.

When either external gated option is selected, the
time clock select bits determine the frequency.

D03

R/W

Int Sel

0x0

Interrupt select

0

Interrupt disable

1

Generate IRQ

D02

R/W

Up Down

0x0

Up/Down select

0

Up counter

1

Down counter

D01

R/W

Bit timer

0x0

32 or 16 bit timer

0

16-bit timer

1

32-bit timer

D00

R/W

Rel Enbl

0x0

Reload enable

0

Halt at terminal count. The timer must be
disabled, then enabled to reload the timer when
the terminal count is reached.

1

Reload and resume count at terminal count

Bits

Access

Mnemonic

Reset

Description

Advertising