diff options
Diffstat (limited to 'os/hal/include/hal_comp.h')
-rw-r--r-- | os/hal/include/hal_comp.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/os/hal/include/hal_comp.h b/os/hal/include/hal_comp.h index 045cef0..835704d 100644 --- a/os/hal/include/hal_comp.h +++ b/os/hal/include/hal_comp.h @@ -50,13 +50,12 @@ typedef enum { } compstate_t; /** - * @brief Type of a structure representing an TIMCAP driver. + * @brief Type of a structure representing an COMP driver. */ typedef struct COMPDriver COMPDriver; - /** - * @brief TIMCAP notification callback type. + * @brief COMP notification callback type. * * @param[in] comp pointer to a @p COMPDriver object */ @@ -79,7 +78,7 @@ typedef void (*compcallback_t)(COMPDriver *comp); * * @iclass */ -#define timcapEnableI(comp) comp_lld_enable(comp) +#define compEnableI(comp) comp_lld_enable(comp) /** * @brief Disables the input capture. @@ -88,7 +87,7 @@ typedef void (*compcallback_t)(COMPDriver *comp); * * @iclass */ -#define timcapDisableI(comp) comp_lld_disable(comp) +#define compDisableI(comp) comp_lld_disable(comp) /** @} */ |