Uses of Package
com.diozero.api
Package | Description |
---|---|
com.diozero.api |
Lower-level APIs for interfacing with devices.
|
com.diozero.api.motor | |
com.diozero.devices | |
com.diozero.devices.sandpit | |
com.diozero.internal.board.chip | |
com.diozero.internal.board.odroid | |
com.diozero.internal.board.raspberrypi | |
com.diozero.internal.board.tinkerboard | |
com.diozero.internal.provider |
Service Provider Interface package.
|
com.diozero.internal.provider.mcp23xxx | |
com.diozero.internal.provider.sysfs | |
com.diozero.util |
-
Classes in com.diozero.api used by com.diozero.api Class Description AbstractDigitalInputDevice Action AnalogInputEvent AnimationInstance AnimationInstance.KeyFrame DeviceEvent DeviceMode DigitalInputDevice Represents a generic digital input device.DigitalInputDeviceInterface DigitalInputEvent GpioDevice Abstract base class for all GPIO related devices.GpioEventTrigger GpioInputDevice Common base class for digital and analog input devices.GpioPullUpDown I2CConstants I2CDevice.ProbeMode InputEventListener OutputDeviceInterface PinInfo PwmType SensorInterface 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 0SPIConstants WaitableDigitalInputDevice Represents a digital input device with distinct waitable states (active / inactive). -
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.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 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.internal.provider.sysfs Class Description DeviceMode GpioEventTrigger GpioPullUpDown I2CDevice.ProbeMode PinInfo PwmPinInfo 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.util Class Description DeviceMode PinInfo