Return to previous page | Return to menu | Go to next page
Uint8
Peripheral control function
Obtain the port mode of peripheral ports 1 and 2
Uint8 slGetPortMode1()
Uint8 slGetPortMode2()
None
Get the port mode of peripheral ports 1 and 2.
Port mode of peripheral port
The following values are returned.
SMPC_PORT_15 ... 15 byte mode (initial value)
SMPC_PORT_255 ... 255 byte mode
SMPC_PORT_ZERO ... 0 byte mode
Reference: HARDWARE MANUAL vol.1 (SMPC)
slGetPortMode1,2