Main index | Section 4 | Options |
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
cp2112_load="YES"
All pins support both input and output modes. An output pin can be configured either for open-drain or push-pull operation. Pins 0, 1 and 7 support special functions: I2C transmit indication, I2C receive indication and clock output respectively. At the moment the cp2112 driver does not provide a way to enable and configure the special functions.
The I2C controller supports read transactions with up to 512 bytes of data, write transactions with up to 61 bytes of data and a write followed by the repeated start followed by a read transactions where the write can be up to 16 bytes and the read can be up to 512 bytes. Zero length transfers are not supported. The cp2112 driver creates a gpio(4) and iicbus(4) child buses to expose the respective functions.
CP2112 (4) | August 12, 2020 |
Main index | Section 4 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | If you have a problem and you think awk(1) is the solution, then you have two problems. | ” |
— David Tilbrook |