Return to previous page | Return to menu | Go to next page


Uint8
Peripheral control function

slGetPortMode1,2

Obtain the port mode of peripheral ports 1 and 2

Format

Uint8 slGetPortMode1()
Uint8 slGetPortMode2()

Parameter

None

Function

Get the port mode of peripheral ports 1 and 2.

Return value

Port mode of peripheral port

Remarks

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


Return to previous page | Return to menu | Go to next page