ChibiOS/HAL  6.1.0
hal_icu_lld.h File Reference

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)   0
 Returns the width of the latest pulse. More...
 
#define icu_lld_get_period(icup)   0
 Returns the width of the latest cycle. More...
 
#define icu_lld_are_notifications_enabled(icup)   false
 Check on notifications status. More...
 
PLATFORM configuration options
#define PLATFORM_ICU_USE_ICU1   FALSE
 ICUD1 driver enable switch. More...
 

Typedefs

typedef uint32_t icufreq_t
 ICU frequency type. More...
 
typedef uint32_t icucnt_t
 ICU counter type. More...
 

Enumerations

Functions

void icu_lld_init (void)
 Low level ICU driver initialization. More...
 
void icu_lld_start (ICUDriver *icup)
 Configures and activates the ICU peripheral. More...
 
void icu_lld_stop (ICUDriver *icup)
 Deactivates the ICU peripheral. More...
 
void icu_lld_start_capture (ICUDriver *icup)
 Starts the input capture. More...
 
bool icu_lld_wait_capture (ICUDriver *icup)
 Waits for a completed capture. More...
 
void icu_lld_stop_capture (ICUDriver *icup)
 Stops the input capture. More...
 
void icu_lld_enable_notifications (ICUDriver *icup)
 Enables notifications. More...
 
void icu_lld_disable_notifications (ICUDriver *icup)
 Disables notifications. More...
 

Detailed Description

PLATFORM ICU subsystem low level driver header.

Definition in file hal_icu_lld.h.