public class BoardPinInfo extends Object
Constructor and Description |
---|
BoardPinInfo() |
Modifier and Type | Method and Description |
---|---|
protected PinInfo |
addAdcPinInfo(int adcNumber,
int pin) |
protected PinInfo |
addAdcPinInfo(int adcNumber,
String name,
int pin) |
protected void |
addAdcPinInfo(PinInfo pinInfo) |
protected PinInfo |
addAdcPinInfo(String header,
int adcNumber,
String name,
int pin) |
protected PinInfo |
addDacPinInfo(int dacNumber,
int pin) |
protected PinInfo |
addDacPinInfo(int dacNumber,
String name,
int pin) |
protected void |
addDacPinInfo(PinInfo pinInfo) |
protected PinInfo |
addDacPinInfo(String header,
int dacNumber,
int pin) |
protected PinInfo |
addDacPinInfo(String header,
int dacNumber,
String name,
int pin) |
protected void |
addGeneralPinInfo(int pin,
String name) |
protected void |
addGeneralPinInfo(PinInfo pinInfo) |
protected void |
addGeneralPinInfo(String header,
int pin,
String name) |
protected PinInfo |
addGpioPinInfo(int gpioNum,
int pin,
Set<DeviceMode> modes) |
protected PinInfo |
addGpioPinInfo(int gpioNum,
String name,
int pin,
Set<DeviceMode> modes) |
protected void |
addGpioPinInfo(PinInfo pinInfo) |
protected PinInfo |
addGpioPinInfo(String header,
int gpioNum,
int pin,
Set<DeviceMode> modes) |
protected PinInfo |
addGpioPinInfo(String header,
int gpioNum,
String name,
int pin,
Set<DeviceMode> modes) |
protected PinInfo |
addPwmPinInfo(int gpioNum,
int pin,
int pwmNum,
Set<DeviceMode> modes) |
protected PinInfo |
addPwmPinInfo(int gpioNum,
String name,
int pin,
int pwmNum,
Set<DeviceMode> modes) |
protected PinInfo |
addPwmPinInfo(String header,
int gpioNumber,
String name,
int pin,
int pwmNum,
Set<DeviceMode> modes) |
Collection<PinInfo> |
getADCs() |
PinInfo |
getByAdcNumber(int adcNumber) |
PinInfo |
getByDacNumber(int dacNumber) |
PinInfo |
getByGpioNumber(int gpio) |
PinInfo |
getByName(String name) |
PinInfo |
getByPwmNumber(int pwmNum) |
Collection<PinInfo> |
getDACs() |
Map<String,Map<Integer,PinInfo>> |
getHeaders() |
Collection<Map<Integer,PinInfo>> |
getHeaderValues() |
int |
mapToSysFsGpioNumber(int gpio) |
protected void addGeneralPinInfo(int pin, String name)
protected void addGeneralPinInfo(PinInfo pinInfo)
protected PinInfo addGpioPinInfo(int gpioNum, int pin, Set<DeviceMode> modes)
protected PinInfo addGpioPinInfo(int gpioNum, String name, int pin, Set<DeviceMode> modes)
protected PinInfo addGpioPinInfo(String header, int gpioNum, int pin, Set<DeviceMode> modes)
protected PinInfo addGpioPinInfo(String header, int gpioNum, String name, int pin, Set<DeviceMode> modes)
protected void addGpioPinInfo(PinInfo pinInfo)
protected PinInfo addPwmPinInfo(int gpioNum, int pin, int pwmNum, Set<DeviceMode> modes)
protected PinInfo addPwmPinInfo(int gpioNum, String name, int pin, int pwmNum, Set<DeviceMode> modes)
protected PinInfo addPwmPinInfo(String header, int gpioNumber, String name, int pin, int pwmNum, Set<DeviceMode> modes)
protected PinInfo addAdcPinInfo(int adcNumber, int pin)
protected void addAdcPinInfo(PinInfo pinInfo)
protected PinInfo addDacPinInfo(int dacNumber, int pin)
protected void addDacPinInfo(PinInfo pinInfo)
public PinInfo getByGpioNumber(int gpio)
public PinInfo getByPwmNumber(int pwmNum)
public PinInfo getByAdcNumber(int adcNumber)
public PinInfo getByDacNumber(int dacNumber)
public Collection<Map<Integer,PinInfo>> getHeaderValues()
public Collection<PinInfo> getADCs()
public Collection<PinInfo> getDACs()
public int mapToSysFsGpioNumber(int gpio)
Copyright © 2016–2017 mattjlewis. All rights reserved.