34 m_buffer[m_next++] =
value;
35 if (m_next != m_count) {
virtual void on_interrupt(uint16_t arg)
static AnalogPin * sampling_pin
Current sampling pin if any.
Board::AnalogPin pin_at(uint8_t ix) const
static bool push(uint8_t type, Handler *target, uint16_t value=0)
Board::Reference m_reference
ADC reference voltage type.
bool sample_request(uint8_t event=Event::NULL_TYPE)