sub_gpiob_read

Top  Previous  Next
Got to SUB-20 page

Synopsis

int   sub_gpiob_read( sub_handle hndl, int* get )

 

Read GPIOB input status. Function reads logic value "1"-high, "0"-low directly from GPIOB pin.

Parameters

*get - Pointer to store received GPIOB input status. Bits 0..7 of *get correspond to GPIOB0..GPIOB7 input statuses.

Return value

On success function returns 0. Otherwise error code.

See also

Error Codes

Compatibility

FW version

0.2.7 or grater

Library version

0.1.12.17 or grater