X90 mobile modules
312
X90 mobile system User's manual V 1.20 - Translation of the original manual
5.6.1.8.3 Physical configuration of I/O channels
These registers define the function of the channels. Depending on the desired configuration, the following assign-
ments can be made with respect to the existing software and hardware:
•
One physical configuration as input or output
•
Configuration as sink or source (inputs)
•
Configuration as parallel output
5.6.1.8.3.1 Physical configuration
Name:
cfgPinMode01 to cfgPinMode08
These registers configure the function of the channels.
Data type
Values
USINT
See the bit structure.
Bit structure:
Data type
Values
Information
1
Digital output (main output)
10
Digital output, PWM (main output)
20
Digital output (parallel output)
31
Digital input source 9 kΩ
USINT
41
Digital input sink 9 kΩ
5.6.1.8.3.2 Load configuration
Name:
cfgLoadConfig
If a pin is defined as a digital or PWM output, the polarity of the output is set with this register.
Data type
Values
USINT
See the bit structure.
Bit structure:
Bit
Description
Value
Information
0
Load connected to ground
0
Polarity of output 01
1
Load connected to power supply
...
...
...
...
0
Load connected to ground
7
Polarity of output 08
1
Load connected to power supply