
ADwin-Gold II
, Manual February 2013
127
Counters
Cnt_Sync_Latch
ADwin
Cnt_Sync_Latch
Cnt_Sync_Latch
copies the contents of the selected counters and PWN
counters into a buffer.
Syntax
#Include
ADwinGoldII.inc / GoldIITiCo.inc
Cnt_Sync_Latch
(
pattern
)
Parameters
Notes
Each bit is assigned to both a VR counter and a PWM counter. For each
set bit, both counter contents copied simultaneously. The instruction
therefore has the same function as
Cnt_Latch
and
Cnt_PW_Latch
to-
gether.
The buffers can be read e.g. with
Cnt_Read_Latch
or
Cnt_Get_PW
.
See also
Valid for
Gold II-CNT
T11 TiCo
pattern
Bit pattern
Bit = 0: No function.
Bit = 1: Copy counter content into a buffer.
LONG
Bit no.
31…4
3
2
1
0
C o u n t e r
no.
–
4
3
2
1