File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,13 @@ class SPIDevice:
3434 :param ~busio.SPI spi: The SPI bus the device is on
3535 :param ~digitalio.DigitalInOut chip_select: The chip select pin object that implements the
3636 DigitalInOut API.
37- :param bool cs_active_value: Set to true if your device requires CS to be active high.
38- Defaults to false.
39- :param int baudrate: The SPI baudrate
40- :param int polarity: The SPI polarity
41- :param int phase: The SPI phase
37+ :param bool cs_active_value: Set to True if your device requires CS to be active high.
38+ Defaults to False.
39+ :param int baudrate: The desired SCK clock rate in Hertz. The actual clock rate may be
40+ higher or lower due to the granularity of available clock settings (MCU dependent).
41+ :param int polarity: The base state of the SCK clock pin (0 or 1).
42+ :param int phase: The edge of the clock that data is captured. First (0) or second (1).
43+ Rising or falling depends on SCK clock polarity.
4244 :param int extra_clocks: The minimum number of clock cycles to cycle the bus after CS is high.
4345 (Used for SD cards.)
4446
You can’t perform that action at this time.
0 commit comments