|
ChibiOS 21.11.4
|
PLATFORM ICU subsystem low level driver header. More...
Go to the source code of this file.
Data Structures | |
| struct | ICUConfig |
| Driver configuration structure. More... | |
| struct | ICUDriver |
| Structure representing an ICU driver. More... | |
Macros | |
| #define | icu_lld_get_width(icup) |
| Returns the width of the latest pulse. | |
| #define | icu_lld_get_period(icup) |
| Returns the width of the latest cycle. | |
| #define | icu_lld_are_notifications_enabled(icup) |
| Check on notifications status. | |
PLATFORM configuration options | |
| #define | PLATFORM_ICU_USE_ICU1 FALSE |
| ICUD1 driver enable switch. | |
Typedefs | |
| typedef uint32_t | icufreq_t |
| ICU frequency type. | |
| typedef uint32_t | icucnt_t |
| ICU counter type. | |
Enumerations | |
| enum | icumode_t { ICU_INPUT_ACTIVE_HIGH = 0 , ICU_INPUT_ACTIVE_LOW = 1 } |
| ICU driver mode. More... | |
Functions | |
| void | icu_lld_init (void) |
| Low level ICU driver initialization. | |
| void | icu_lld_start (ICUDriver *icup) |
| Configures and activates the ICU peripheral. | |
| void | icu_lld_stop (ICUDriver *icup) |
| Deactivates the ICU peripheral. | |
| void | icu_lld_start_capture (ICUDriver *icup) |
| Starts the input capture. | |
| bool | icu_lld_wait_capture (ICUDriver *icup) |
| Waits for a completed capture. | |
| void | icu_lld_stop_capture (ICUDriver *icup) |
| Stops the input capture. | |
| void | icu_lld_enable_notifications (ICUDriver *icup) |
| Enables notifications. | |
| void | icu_lld_disable_notifications (ICUDriver *icup) |
| Disables notifications. | |
PLATFORM ICU subsystem low level driver header.
Definition in file hal_icu_lld.h.