Compile-time driver contracts.
|
| struct | adc_driver_interface_complete |
| | Combined ADC driver interface check. More...
|
| |
| class | AdcDriverRequirements |
| | ADC driver requirements validator. More...
|
| |
| struct | audio_driver_interface_complete |
| | Combined Audio driver interface check. More...
|
| |
| class | AudioDriverRequirements |
| | Audio driver requirements validator. More...
|
| |
| class | ButtonRoleRequirements |
| | button role: update(bool level, uint32_t elapsed_ticks) More...
|
| |
| class | CvInputRoleRequirements |
| | cv_input role: update(uint16_t raw), set_electrical(const Electrical&) More...
|
| |
| class | EncoderRoleRequirements |
| | encoder role: update(bool a, bool b) More...
|
| |
| struct | gpio_driver_interface_complete |
| | Combined GPIO driver interface check. More...
|
| |
| class | GpioDriverRequirements |
| | GPIO driver requirements validator. More...
|
| |
| struct | has_adc_configure_channel |
| | True if T::configure_channel(const AdcHandle&, SampleTime) is a valid static call. More...
|
| |
| struct | has_adc_configure_channel< T, std::void_t< decltype(T::configure_channel(std::declval< const sbl::AdcHandle & >(), std::declval< sbl::hal::adc::SampleTime >()))> > |
| |
| struct | has_adc_init |
| | True if T::init() is a valid static call. More...
|
| |
| struct | has_adc_init< T, std::void_t< decltype(T::init())> > |
| |
| struct | has_adc_is_conversion_complete |
| | True if T::is_conversion_complete() is a valid static call. More...
|
| |
| struct | has_adc_is_conversion_complete< T, std::void_t< decltype(T::is_conversion_complete())> > |
| |
| struct | has_adc_read_raw |
| | True if T::read_raw() is a valid static call. More...
|
| |
| struct | has_adc_read_raw< T, std::void_t< decltype(T::read_raw())> > |
| |
| struct | has_adc_resolution_bits |
| | True if T::resolution_bits() is a valid static call. More...
|
| |
| struct | has_adc_resolution_bits< T, std::void_t< decltype(T::resolution_bits())> > |
| |
| struct | has_adc_start_conversion |
| | True if T::start_conversion(const AdcHandle&) is a valid static call. More...
|
| |
| struct | has_adc_start_conversion< T, std::void_t< decltype(T::start_conversion(std::declval< const sbl::AdcHandle & >()))> > |
| |
| struct | has_adc_start_dma_scan |
| | True if T::start_dma_scan(const AdcHandle*, uint8_t, uint16_t*, SampleTime) is a valid static call (optional) More...
|
| |
| struct | has_adc_start_dma_scan< T, std::void_t< decltype(T::start_dma_scan(std::declval< const sbl::AdcHandle * >(), std::declval< uint8_t >(), std::declval< uint16_t * >(), std::declval< sbl::hal::adc::SampleTime >()))> > |
| |
| struct | has_adc_stop_dma_scan |
| | True if T::stop_dma_scan() is a valid static call (optional) More...
|
| |
| struct | has_adc_stop_dma_scan< T, std::void_t< decltype(T::stop_dma_scan())> > |
| |
| struct | has_audio_init |
| | True if T::init() is a valid static call. More...
|
| |
| struct | has_audio_init< T, std::void_t< decltype(T::init())> > |
| |
| struct | has_audio_init_config |
| | True if T::init(const AudioConfig&) is a valid static call. More...
|
| |
| struct | has_audio_init_config< T, std::void_t< decltype(T::init(std::declval< const sbl::hal::audio::AudioConfig & >()))> > |
| |
| struct | has_audio_set_callback |
| | True if T::set_callback(AudioCallback) is a valid static call. More...
|
| |
| struct | has_audio_set_callback< T, std::void_t< decltype(T::set_callback(std::declval< sbl::hal::audio::AudioCallback >()))> > |
| |
| struct | has_audio_start |
| | True if T::start() is a valid static call. More...
|
| |
| struct | has_audio_start< T, std::void_t< decltype(T::start())> > |
| |
| struct | has_audio_stop |
| | True if T::stop() is a valid static call. More...
|
| |
| struct | has_audio_stop< T, std::void_t< decltype(T::stop())> > |
| |
| struct | has_gpio_read |
| | True if T::read(const GpioHandle&) is a valid static call. More...
|
| |
| struct | has_gpio_read< T, std::void_t< decltype(T::read(std::declval< const sbl::GpioHandle & >()))> > |
| |
| struct | has_gpio_set_mode |
| | True if T::set_mode(const GpioHandle&, PinMode) is a valid static call. More...
|
| |
| struct | has_gpio_set_mode< T, std::void_t< decltype(T::set_mode(std::declval< const sbl::GpioHandle & >(), std::declval< sbl::hal::gpio::PinMode >()))> > |
| |
| struct | has_gpio_toggle |
| | True if T::toggle(const GpioHandle&) is a valid static call. More...
|
| |
| struct | has_gpio_toggle< T, std::void_t< decltype(T::toggle(std::declval< const sbl::GpioHandle & >()))> > |
| |
| struct | has_gpio_write |
| | True if T::write(const GpioHandle&, bool) is a valid static call. More...
|
| |
| struct | has_gpio_write< T, std::void_t< decltype(T::write(std::declval< const sbl::GpioHandle & >(), std::declval< bool >()))> > |
| |
| struct | has_timer_callback_set_period |
| |
| struct | has_timer_callback_set_period< T, std::void_t< decltype(T::set_period(std::declval< uint32_t >()))> > |
| |
| struct | has_timer_callback_start |
| |
| struct | has_timer_callback_start< T, std::void_t< decltype(T::start(std::declval< uint32_t >(), std::declval< void(*)()>()))> > |
| |
| struct | has_timer_callback_stop |
| |
| struct | has_timer_callback_stop< T, std::void_t< decltype(T::stop())> > |
| |
| struct | has_uart_available |
| | True if T::available() is a valid static call. More...
|
| |
| struct | has_uart_available< T, std::void_t< decltype(T::available())> > |
| |
| struct | has_uart_init |
| | True if T::init(const UartHandle&) is a valid static call. More...
|
| |
| struct | has_uart_init< T, std::void_t< decltype(T::init(std::declval< const sbl::UartHandle & >()))> > |
| |
| struct | has_uart_init_rx |
| | True if T::init_rx(const UartHandle&) is a valid static call. More...
|
| |
| struct | has_uart_init_rx< T, std::void_t< decltype(T::init_rx(std::declval< const sbl::UartHandle & >()))> > |
| |
| struct | has_uart_read_byte |
| | True if T::read_byte() is a valid static call. More...
|
| |
| struct | has_uart_read_byte< T, std::void_t< decltype(T::read_byte())> > |
| |
| struct | has_uart_try_write_byte |
| | True if T::try_write_byte(uint8_t) is a valid static call (optional) More...
|
| |
| struct | has_uart_try_write_byte< T, std::void_t< decltype(T::try_write_byte(std::declval< uint8_t >()))> > |
| |
| struct | has_uart_try_write_string |
| | True if T::try_write_string(const char*) is a valid static call (optional) More...
|
| |
| struct | has_uart_try_write_string< T, std::void_t< decltype(T::try_write_string(std::declval< const char * >()))> > |
| |
| struct | has_uart_write |
| | True if T::write(const uint8_t*, std::size_t) is a valid static call. More...
|
| |
| struct | has_uart_write< T, std::void_t< decltype(T::write(std::declval< const uint8_t * >(), std::declval< std::size_t >()))> > |
| |
| struct | has_uart_write_byte |
| | True if T::write_byte(uint8_t) is a valid static call. More...
|
| |
| struct | has_uart_write_byte< T, std::void_t< decltype(T::write_byte(std::declval< uint8_t >()))> > |
| |
| struct | has_uart_write_string |
| | True if T::write_string(const char*) is a valid static call. More...
|
| |
| struct | has_uart_write_string< T, std::void_t< decltype(T::write_string(std::declval< const char * >()))> > |
| |
| class | InterruptsDriverRequirements |
| | Interrupts driver requirements validator. More...
|
| |
| class | PotRoleRequirements |
| | pot role: update(uint16_t raw) More...
|
| |
| class | RgbLedRoleRequirements |
| | rgb_led role: state() with r, g, b duty More...
|
| |
| class | TimerCallbackRequirements |
| |
| struct | uart_available_returns_bool |
| | True if T::available() returns bool. More...
|
| |
| struct | uart_available_returns_bool< T, std::enable_if_t< std::is_same_v< decltype(T::available()), bool > > > |
| |
| struct | uart_driver_interface_complete |
| | Combined UART driver interface check. More...
|
| |
| struct | uart_read_byte_returns_uint8 |
| | True if T::read_byte() returns uint8_t. More...
|
| |
| struct | uart_read_byte_returns_uint8< T, std::enable_if_t< std::is_same_v< decltype(T::read_byte()), uint8_t > > > |
| |
| struct | uart_try_write_byte_returns_bool |
| | True if T::try_write_byte(uint8_t) returns bool. More...
|
| |
| struct | uart_try_write_byte_returns_bool< T, std::enable_if_t< std::is_same_v< decltype(T::try_write_byte(std::declval< uint8_t >())), bool > > > |
| |
| class | UartDriverRequirements |
| | UART driver requirements validator. More...
|
| |