4.11 JNMMGPIOConfig

This function sets the digital I/O port direction for the selected port.

BYTE JNMMGPIOConfig(int Port, int Config);

Usage Example

To configure GPIO.

input_port = 0; //0-port A,1-port B
config = 0;     //input mode
JNMMGPIOConfig(input_port,config);

Last updated