| ChibiOS/HAL
    6.1.0
    | 
ICU Driver macros and structures. More...
#include "hal_icu_lld.h"Go to the source code of this file.
| Macros | |
| Macro Functions | |
| #define | icuStartCaptureI(icup) | 
| Starts the input capture.  More... | |
| #define | icuStopCaptureI(icup) | 
| Stops the input capture.  More... | |
| #define | icuEnableNotificationsI(icup) icu_lld_enable_notifications(icup) | 
| Enables notifications.  More... | |
| #define | icuDisableNotificationsI(icup) icu_lld_disable_notifications(icup) | 
| Disables notifications.  More... | |
| #define | icuAreNotificationsEnabledX(icup) icu_lld_are_notifications_enabled(icup) | 
| Check on notifications status.  More... | |
| #define | icuGetWidthX(icup) icu_lld_get_width(icup) | 
| Returns the width of the latest pulse.  More... | |
| #define | icuGetPeriodX(icup) icu_lld_get_period(icup) | 
| Returns the width of the latest cycle.  More... | |
| Low level driver helper macros | |
| #define | _icu_isr_invoke_width_cb(icup) | 
| Common ISR code, ICU width event.  More... | |
| #define | _icu_isr_invoke_period_cb(icup) | 
| Common ISR code, ICU period event.  More... | |
| #define | _icu_isr_invoke_overflow_cb(icup) | 
| Common ISR code, ICU timer overflow event.  More... | |
| Typedefs | |
| typedef struct ICUDriver | ICUDriver | 
| Type of a structure representing an ICU driver.  More... | |
| typedef void(* | icucallback_t) (ICUDriver *icup) | 
| ICU notification callback type.  More... | |
| Enumerations | 
| Functions | |
| void | icuInit (void) | 
| ICU Driver initialization.  More... | |
| void | icuObjectInit (ICUDriver *icup) | 
| Initializes the standard part of a ICUDriverstructure.  More... | |
| void | icuStart (ICUDriver *icup, const ICUConfig *config) | 
| Configures and activates the ICU peripheral.  More... | |
| void | icuStop (ICUDriver *icup) | 
| Deactivates the ICU peripheral.  More... | |
| void | icuStartCapture (ICUDriver *icup) | 
| Starts the input capture.  More... | |
| bool | icuWaitCapture (ICUDriver *icup) | 
| Waits for a completed capture.  More... | |
| void | icuStopCapture (ICUDriver *icup) | 
| Stops the input capture.  More... | |
| void | icuEnableNotifications (ICUDriver *icup) | 
| Enables notifications.  More... | |
| void | icuDisableNotifications (ICUDriver *icup) | 
| Disables notifications.  More... | |
ICU Driver macros and structures.
Definition in file hal_icu.h.