Uses of Package
com.diozero.api
-
-
Classes in com.diozero.api used by com.diozero.api.motor Class Description Action -
Classes in com.diozero.api used by com.diozero.devices Class Description AbstractDigitalInputDevice Action AnalogInputDevice The AnalogInputDevice base class encapsulates logic for interfacing with analog devices.BarometerInterface DeviceMode DigitalInputDevice Represents a generic digital input device.DigitalInputDeviceInterface DigitalInputEvent DigitalOutputDevice Provides generic digital (on/off) output control with support for active high and low logic.DistanceSensorInterface GpioDevice Abstract base class for all GPIO related devices.GpioEventTrigger GpioExpander GpioInputDevice Common base class for digital and analog input devices.GpioPullUpDown HygrometerInterface InputEventListener LuminositySensorInterface OutputDeviceCollection OutputDeviceInterface PinInfo PwmOutputDevice Provide generic Pulse Width Modulation (PWM) output control.SensorInterface SpiDevice https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md For modern Raspberry Pis: 2 SPI controllers, 0 (SPI-0) and 1 (SPI-1) Controller 0 has 2 channels (CE-0 on physical pin 24, CE-1 on physical pin 26) Controller 1 has 3 channels (CE-0 on physical pin 12, CE-1 on physical pin 11, CE-2 on physical pin 36) SPI-1 is more limited that SPI-0 on the Raspberry Pi (https://www.raspberrypi.org/forums/viewtopic.php?t=81903&p=579154) - The SPI-1 clock is derived from the system clock therefore you have to be careful when over/underclocking to set the right divisor - Limited IRQ support, no thresholding on the FIFO except "TX empty" or "done".ThermometerInterface -
Classes in com.diozero.api used by com.diozero.devices.sandpit Class Description AbstractDigitalInputDevice DigitalInputDevice Represents a generic digital input device.DigitalInputDeviceInterface DigitalInputEvent DigitalOutputDevice Provides generic digital (on/off) output control with support for active high and low logic.DistanceSensorInterface GpioDevice Abstract base class for all GPIO related devices.GpioEventTrigger GpioInputDevice Common base class for digital and analog input devices.GpioPullUpDown InputEventListener PwmOutputDevice Provide generic Pulse Width Modulation (PWM) output control.SensorInterface SmoothedInputDevice Represents a generic input device which takes its value from the number of active events over a specific time period.WaitableDigitalInputDevice Represents a digital input device with distinct waitable states (active / inactive). -
Classes in com.diozero.api used by com.diozero.internal.board Class Description PinInfo -
Classes in com.diozero.api used by com.diozero.internal.board.allwinner Class Description DeviceMode GpioPullUpDown -
Classes in com.diozero.api used by com.diozero.internal.board.chip Class Description DeviceMode GpioPullUpDown -
Classes in com.diozero.api used by com.diozero.internal.board.odroid Class Description DeviceMode GpioPullUpDown PwmPinInfo -
Classes in com.diozero.api used by com.diozero.internal.board.raspberrypi Class Description DeviceMode GpioPullUpDown -
Classes in com.diozero.api used by com.diozero.internal.board.tinkerboard Class Description DeviceMode GpioPullUpDown -
Classes in com.diozero.api used by com.diozero.internal.provider Class Description AnalogInputEvent DeviceEvent DeviceMode DigitalInputEvent GpioEventTrigger GpioPullUpDown I2CDevice.ProbeMode InputEventListener PinInfo SerialConstants.DataBits The number of data bits to use per word.SerialConstants.Parity Specifies how error detection is carried out.SerialConstants.StopBits The number of stop bits.SpiClockMode SPI Clock Polarity Clock Phase Clock Edge Mode (CPOL/CKP) (CPHA) (CKE/NCPHA) 0 0 0 1 1 0 1 0 2 1 0 1 3 1 1 0 -
Classes in com.diozero.api used by com.diozero.internal.provider.builtin Class Description DeviceMode GpioEventTrigger GpioPullUpDown I2CDevice.ProbeMode PinInfo PwmPinInfo SerialConstants.DataBits The number of data bits to use per word.SerialConstants.Parity Specifies how error detection is carried out.SerialConstants.StopBits The number of stop bits.SpiClockMode SPI Clock Polarity Clock Phase Clock Edge Mode (CPOL/CKP) (CPHA) (CKE/NCPHA) 0 0 0 1 1 0 1 0 2 1 0 1 3 1 1 0 -
Classes in com.diozero.api used by com.diozero.internal.provider.builtin.gpio Class Description DeviceMode GpioEventTrigger GpioPullUpDown -
Classes in com.diozero.api used by com.diozero.internal.provider.builtin.i2c Class Description I2CDevice.ProbeMode -
Classes in com.diozero.api used by com.diozero.internal.provider.builtin.serial Class Description SerialConstants.DataBits The number of data bits to use per word.SerialConstants.Parity Specifies how error detection is carried out.SerialConstants.StopBits The number of stop bits. -
Classes in com.diozero.api used by com.diozero.internal.provider.builtin.spi Class Description SpiClockMode SPI Clock Polarity Clock Phase Clock Edge Mode (CPOL/CKP) (CPHA) (CKE/NCPHA) 0 0 0 1 1 0 1 0 2 1 0 1 3 1 1 0 -
Classes in com.diozero.api used by com.diozero.internal.provider.mcp23xxx Class Description DeviceMode DigitalInputEvent GpioEventTrigger GpioExpander GpioPullUpDown InputEventListener PinInfo -
Classes in com.diozero.api used by com.diozero.util Class Description DeviceMode PinInfo