PreviousNext
Get
Help > Peripherals > IO > Get

This command is used to read the input state of all MCU ports (PORTx).

 

Request

 

NADR

PNUM

PCMD

HWPID

NADR

0x09

0x02

?

 

Response

 

NADR

PNUM

PCMD

HWPID

ErrN

DpaValue

0 n

NADR

0x09

0x82

?

0

?

Port data

 

Port data          Array of bytes representing the state of port PORTA, PORTB, …, ending with the last supported MCU port.