
Revision:
1.23
71
Description:
Get the value of GPIO and put the value at * bValue.
Parameters:
I.
The parameter ‘iBitNumber indicates the GPIO Input pins to show. Users can use the
macros GPO_BIT_0, GPO_BIT_1, GPO_BIT_2, GPO_BIT_3, GPI_BIT_4, GPI_BIT_5,
GPI_BIT_6, or GPI_BIT_7 to indicate the GPIO channel. For example:
getGPIOBitValue (GPO_BIT_0, &val);
// Indicate the GPIO Output channel 0
getGPIOBitValue (GPI_BIT_6, &val);
// Indicate the GPIO Input channel 6
II.
The parameter ‘bValue’ is an bool pointer. The function puts the values of the indicated
GPIO channels at the memory pointed by ‘bValue’. True indicates HI, and false indicates
LOW.
Return Value:
If the function gets the values successfully, it returns 0. If any error, it returns
not zero.
2.
Syntax:
int setGPIOBitValue(int iBitNumber, bool bValue)
Description:
Set the value of GPIO Output according to the variable ‘bValue’.
Parameters:
I.
The parameter ‘channel’ indicates the GPIO Output pins to set. Users can use the macros
GPO_BIT_0, GPO_BIT_1, GPO_BIT_2, or GPO_BIT_3 to indicate the GPIO Output
channels.
II.
The parameter ‘bValue’ indicate the value to be set to GPIO Output channel. True
indicates HI, and false indicates LOW.
For example:
/* Setting the GPIO Output channel 2 to HI */
setGPIOBitValue (GPO_BIT_2, true );
/* Setting the GPIO Output channel 3 to LOW */
setGPIOBitValue (GPO_BIT_3, false );
Содержание AR-V6002FL
Страница 1: ...Revision 1 23 1 AR V6002FL User Manual ...
Страница 5: ...Revision 1 23 5 AR V6002FL System System Installation Guide ...
Страница 9: ...Revision 1 23 9 3 Back Panel WIFI 3 5G GPS Bluetooth WIFI SIM Card ...
Страница 10: ...Revision 1 23 10 4 System Configuration ...
Страница 11: ...Revision 1 23 11 ...
Страница 14: ...Revision 1 23 14 Slide the memory module into the DDR3 slot 3 Assemble bottom cover with seven screws ...
Страница 19: ...Revision 1 23 19 3 Fixed SIM Card bracket by 3 screws ...
Страница 23: ...Revision 1 23 23 AR B6002 Board Fan less with Intel ATOM Pineview ICH8M Board Guide ...
Страница 27: ...Revision 1 23 27 2 1 2 Locations Bottom Side CF1 ...