Page 21
Register Description
IF2008/PCIe / IF2008E
10.8
Sensor Baud Rate
Base addr. Sensor
channel Value
Access
+ 08h
1
1 to 65,535
only write access
+ 0Ah
2
1 to 65,535
only write access
+ 0Ch
3
1 to 65,535
only write access
+ 0Eh
4
1 to 65,535
only write access
+ 10h
5
1 to 65,535
only write access
+ 12h
6
1 to 65,535
only write access
Fig. 22: Base addresses for sensor baud rates
Value = (48 MHz / baud rate) - 1
Example:
Desired baud rate = 691.2 kBaud
Value = (48 MHz / 691,200) - 1) = 68,44
The input value must be a whole number, i.e., the result must
still be rounded:
> Value = 68
10.9
Counter Control Register
Base addr. Counter
channel
Bit
Access
+ 14h
1
0 to 15
Read and write access
+ 16h
2
0 to 15
Read and write access
Fig. 23: Base addresses for counter control register
The tables below are the same for both counter channels!
Overview of functions:
Bit
Function
0 to 3 Interpolation (see table 21: Encoder interpolation)
4
Counting direction (see table 22: Encoder counter
direction)
5 to 7 Counter Mode (see table 23: Counter mode)
8 to 11 Latch source (see table 24: Counter latch source)
12 to 15 Reserved
Fig. 24: Functional overview for counter control register
Содержание IF2008/PCIe
Страница 1: ...Assembly Instructions IF2008 PCIe IF2008E...