Copyright © Siemens AG 2010. All rights reserved.
Page
40
ERTEC 400 Manual
Technical data subject to change
Version 1.2.2
5
Status
Timer status (writing is ignored)
0: Timer has not expired
1: Timer has expired (count is 0 and Run/xStop=Bit 0=1)
Note: This bit can only be read as 1 if Run/xStop (Bit 0) is active (1).
6
Cascading
Cascading of timer
0: Not relevant
1: Cascading of timers 0 and 1
31-7
Reserved
Not relevant (read=0)
Important note: The bits designated with *) are relevant to Timer 0 as well if the timers are cascaded!
RELD0
R/W
Addr.: 0x4000_2008 Default: 0x0000_0000
RELD1
R/W
Addr.: 0x4000_200C Default: 0x0000_0000
Description
Reload registers 0 to 1. Reload value for timers 0 to 1.
Bit No.
Name
Description
31:0
Reload (31:0)
Reload value of timer
CTRL_PREDIV
R/W
Addr.: 0x4000_2010 Default: 0x0000_0000
Description
Control register for the two prescalers
Bit No.
Name
Description
0
Run/xStop_V0
Stop/start of prescaler 0:
0: Prescaler 0 is stopped
1: Prescaler 0 is running
1
Load_V0
Trigger = loading of prescaler 0 with the reload register value:
0: Not relevant
1: Timer is loaded with the value of the reload register
While this bit can be read back, the trigger only has an effect
at the instant of writing. The prescaler is loaded independently of the status
of Run/xStop_V0.
2
Run/xStop_V1
Stop/start of prescaler 1:
0: Prescaler 1 is stopped
1: Prescaler 1 is running
3
Load_V1
Trigger = loading of prescaler 1 with the reload register value:
0: Not relevant
1: Timer is loaded with the value of the reload register
While this bit can be read back, the trigger only has an effect
at the instant of writing. The prescaler is loaded independently of the status
of Run/xStop_V1.
31-4
Reserved
Not relevant (read=0)
Note regarding prescalers: The current counter value of the prescalers cannot be read. In addition, there are no
status bits for the prescalers indicating when the counter state is 0. The prescalers always run cyclically (in
Reload mode).
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)