| 25 | } |
| 26 | |
| 27 | int ChannelData::getPin() const FL_NOEXCEPT { |
| 28 | if (const ClocklessChipset* cs = mChipset.ptr<ClocklessChipset>()) { |
| 29 | return cs->pin; |
| 30 | } |
| 31 | if (const SpiChipsetConfig* spi = mChipset.ptr<SpiChipsetConfig>()) { |
| 32 | return spi->dataPin; |
| 33 | } |
| 34 | return -1; |
| 35 | } |
| 36 | |
| 37 | const ChipsetTimingConfig& ChannelData::getTiming() const FL_NOEXCEPT { |
| 38 | if (const ClocklessChipset* cs = mChipset.ptr<ClocklessChipset>()) { |
no outgoing calls