X20 system modules • Counter modules • X20DC1178
X20 system User's Manual 3.10
675
4.11.4.9.3 Encoder - Configuration
The following registers are used for setting functions and configuring the module.
4.11.4.9.3.1 Setting the SSI sampling cycle time
The following two registers define the cycle time for SSI sampling.
Setting the interrupt
Name:
CfO_CycleSelect
This register assigns the principle interrupt setting:
•
Timer configuration (time setting with CfO_SystemCyclePrescaler register):
The SSI transfer can be
started independently of the X2X cycle. The timer is synchronized with X2X Link.
•
AOAI:
Configuration with X2X interrupt, one-time start of the SSI transfer in the X2X cycle. The SSI transfer
may require an entire X2X cycle.
•
SOSI:
Configuration with X2X interrupt, one-time start of the SSI transfer in the X2X cycle. The reaction
time can be optimized with this setting if the SSI transfer doesn't exceed half of an X2X cycle.
Data type
Value
Filter
3
Timer [μsec] ... Time setting with register CfO_SystemCyclePrescaler
10
AOAI
USINT
14
SOSI
Setting the cycle time
Name:
CfO_SystemCyclePrescaler
The desired cycle time must be configured additionally for the timer setting using this register.
Data type
Value
Filter
1
50 μs
2
100 μs
4
200 μs
8
400 μs
16
800 μs
USINT
0