Access from the user program
KL1501, KL1512
33
Version: 3.1.0
Feature bit no.
Description of the operation mode
Bit 0
-
no function
Bit 1
0/1
Output format
0: Standard output [0]
1: Alternative output
Bit 2
1
If two counters are active, the CNT_INH bit becomes CNT_SET for the second
counter [0].
Bit 3
1
The counter(s) is/are set if a positive edge of the CNT_SET bit in the control byte
[0] is encountered
Bit 4
1
The internal function for setting output A0 is active [0].
Bit 5
1
The internal function for resetting output A0 is active [0].
Bit 6
1
The internal function for setting output A1 is active [0].
Bit 7
1
The internal function for resetting output A1 is active [0].
Bit 10, 9, 8
001
32-bit up/down counter [001].
24-bit if alternative output format is active.
010
Standard output: 2 *16-bit up counter
Alternative output: Counter 0 is 8 bits wide, counter 1 is 16 bits.
The counting frequency is limited to approx. 5 kHz.
[pulse width > 100 microseconds]
100
32-bit gated counter
24-bit if alternative output format is active
Gate input low: Counter is locked
101
32-bit gated counter
24-bit if alternative output format is active
Gate input high: Counter is locked
Bit 11
0/1
Counting direction
0: Up [0]
1: Down
Bit 12
1
Terminal bus access is polled if the bit is set [0]
Bit 15, 14, 13
-
No function [0], do not change!