beautypg.com

Reld_prediv, Tim0, Tim1 – Siemens ERTEC200 User Manual

Page 42: Tim2_ctrl, Tim2

background image

RELD_PREDIV

R/W

Addr.: 0x4000_2014 Default: 0x0000_0000

Description

Reload register for the two prescalers

Bit No.

Name

Description

7:0

Prediv [7:0]

Reload value of prescaler 0

15:8

Prediv [15:8]

Reload value of prescaler 1

31-16

Reserved

Not relevant (read=0)

TIM0

R Addr.: 0x4000_2018 Default: 0x0000_0000

TIM1

R Addr.: 0x4000_201C Default: 0x0000_0000

Description

Timer Register 0-1. Values of timers 0-1.

Bit No.

Name

Description

31:0 Timer

[31:0]

Current value of the timer

TIM2_CTRL

R/W

Addr.: 0x4000_2020 Default: 0x0000_0000

Description

Timer 2 Control Register

Bit No.

Name

Description

31:19 Reserved

Reserved

18 Timer_Mode

0:

Cyclic

1: Retrigger via UART_RXD signal (for RXD at log. '0')

17

OneShot_Mode

0: Cycle timer: Timer 2 is loaded with 0000h when timer value = reload value
and continues to run
1: OneShot-Timer: Timer 2 stops when timer value = reload value

16

Run/xStop

0: Stop Timer 2, reset Timer 2, deactivate INT

1: Start Timer 2

15:0

Reload [15:0]

Reload value of Timers 2


TIM2

R Addr.: 0x4000_2024 Default: 0x0000_0000

Description

Timer Register 2. Values of Timer 2.

Bit No.

Name

Description

31:16 Reserved

Reserved

15:0 Timer

[15:0]

Current value of Timer 2

Copyright © Siemens AG 2007. All rights reserved.

42

ERTEC 200 Manual

Technical data subject to change Version 1.1.0