Copyright © Siemens AG 2016. All rights reserved
278
ERTEC 200P-2 Manual
Technical data subject to change
Version 1.0
1
TIM_OUT = low active
The storing of the current counter values in the event registers
Ext_Event_1
and
Ext_Event_2
is done dependent on the bits Event1_control, Event2_control,
Event1_Inversion, Event2_inversion in the mode register and dependent on the inputs
EXT_EV_1, EXT_EV_2 in accordance with the following tables:
Bit Event1_control
Event1_control
Function
00
EXT_EV_1 input does not affect register Ext_Event_1
and register Ext_Event_2
01
Rising edge of the EXT_EV_1 input leads to the storing
of the counter value in the register Ext_Event_1 *)
10
Falling edge of the EXT_EV_1 input leads to the storing
of the counter value in the register Ext_Event_2 *)
11
Rising edge of the EXT_EV_1 input leads to the storing
of the counter value in the register Ext_Event_1,
falling edge of the EXT_EV_1 input leads to the storing
of the counter value in the register Ext_Event_2 *)
*) The above table is valid if the Event1_Inversion bit is set to 0; if the bit is set to 1, the
“rising edge” and “falling edge” are to be exchanged.
Bit Event2_control
Event2_control
Function
00
EXT_EV_2 input does not affect register Ext_Event_1
and register Ext_Event_2
01
Rising edge of the EXT_EV_2 input leads to the storing
of the counter value in the register Ext_Event_1
10
Falling edge of the EXT_EV_2 input leads to the storing
of the counter value in the register xt_Event_2
11
Rising edge of the EXT_EV_2 input leads to the storing
of the counter value in the register Ext_Event_1,
the falling edge of the EXT_EV_2 input leads to the
storing of the counter value in the register Ext_Event_2
*) The above table is valid if the Event2_Inversion bit is set to 0; if the bit is set to 1, the
“rising edge” and “falling edge” are to be exchanged
All combinations of the bits Event2_control, Event1_control in which the EXT_EV_1 input
as well as the EXT_EV_2 input would cause a storing of the counter value in the same
register are forbidden. If these combinations are set nevertheless, the counter value is
not stored.
The registers Ext_Event_1 and Ext_Event_2 are readable and writable by the software;
the setting of the registers after reset is ’0000h’.
Содержание ERTEC 200P
Страница 1: ...ERTEC 200P 2 Enhanced Real Time Ethernet Controller Manual ...
Страница 309: ...Copyright Siemens AG 2016 All rights reserved 309 ERTEC 200P 2 Manual Technical data subject to change Version 1 0 ...
Страница 492: ...Copyright Siemens AG 2016 All rights reserved 492 ERTEC 200P 2 Manual Technical data subject to change Version 1 0 ...