File tree Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 319
319
320
320
321
321
# Example configuration for intersphinx: refer to the Python standard library.
322
- intersphinx_mapping = {'http://docs.python.org/' : None }
322
+ intersphinx_mapping = {'http://docs.python.org/' : None ,
323
+ 'https://circuitpython.readthedocs.io/projects/bus_device/en/latest/' : None ,
324
+ 'https://circuitpython.readthedocs.io/projects/register/en/latest/' : None }
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ with CircuitPython and may or may not work with `MicroPython <https://micropytho
7
7
.. toctree ::
8
8
9
9
Register Library <https://circuitpython.readthedocs.io/projects/register/en/latest/ >
10
+ BusDevice Library <https://circuitpython.readthedocs.io/projects/bus_device/en/latest/ >
10
11
RGB Displays <http://micropython-rgb.readthedocs.io/ >
11
12
Analog-to-digital converters: ADS1015 and ADS1115 <http://micropython-ads1015.readthedocs.io/ >
12
13
DS3231 Real-time Clock (Precision RTC) <https://circuitpython.readthedocs.io/projects/ds3231/en/latest/ >
Original file line number Diff line number Diff line change 42
42
//| physical level it consists of 2 wires: SCL and SDA, the clock and data
43
43
//| lines respectively.
44
44
//|
45
+ //| .. seealso:: Using this class directly requires careful lock management.
46
+ //| Instead, use :class:`~adafruit_bus_device.i2c_device.I2CDevice` to
47
+ //| manage locks.
48
+ //|
49
+ //| .. seealso:: Using this class to directly read registers requires manual
50
+ //| bit unpacking. Instead, use an existing driver or make one with
51
+ //| :ref:`Register <register-module-reference>` data descriptors.
52
+ //|
45
53
//| :param ~microcontroller.Pin scl: The clock pin
46
54
//| :param ~microcontroller.Pin sda: The data pin
47
55
//| :param int frequency: The clock frequency
Original file line number Diff line number Diff line change 52
52
//|
53
53
//| Construct an SPI object on the given pins.
54
54
//|
55
+ //| .. seealso:: Using this class directly requires careful lock management.
56
+ //| Instead, use :class:`~adafruit_bus_device.spi_device.SPIDevice` to
57
+ //| manage locks.
58
+ //|
59
+ //| .. seealso:: Using this class to directly read registers requires manual
60
+ //| bit unpacking. Instead, use an existing driver or make one with
61
+ //| :ref:`Register <register-module-reference>` data descriptors.
62
+ //|
55
63
//| :param ~microcontroller.Pin clock: the pin to use for the clock.
56
64
//| :param ~microcontroller.Pin MOSI: the Master Out Slave In pin.
57
65
//| :param ~microcontroller.Pin MISO: the Master In Slave Out pin.
You can’t perform that action at this time.
0 commit comments