@CHIP-RTOS C Library V2.06 - I2C Bus API
I2C_select_data_pin
Select I2C Data Pin void I2C_select_data_pin ( unsigned char pio_no ); SC1x Parameters
- pio_no
- PIO pin number, [0..13]
SC1x3 Parameters
- pio_no
- PIO pin number, [0..24, 26..31]
Return Value
- -- none --
SC1x Comments- The default I2C data pin is PIO 1.
To change the I2CDAT pin this function must be called before the
I2C_init function is called.
SC1x3 Comments- To use the I2C hardware interface do not call the functions
"Select I2C Clock Pin" and "Select I2C Data Pin" or call them both with
PIO pin number 0.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|