Clear the autoreload match flag (ARRMCF)
Set the counter mode (selection of the LPTIM counter clock source).
Enable the LPTIM instance
Starts the LPTIM counter in the desired mode.
Set the auto reload value
Inform application whether a autoreload match interrupt has occurred.
Enable autoreload match interrupt (ARRMIE).
Configure the LPTIMx peripheral according to the specified parameters.
Indicates whether the LPTIM instance is enabled.
Clear the compare register update interrupt flag (CMPOKCF).
Informs application whether the APB bus write operation to the LPTIMx_CMP register has been successfully completed. If so, a new one can be initiated.
Clear the autoreload register update interrupt flag (ARROKCF).
Informs application whether the APB bus write operation to the LPTIMx_ARR register has been successfully completed. If so, a new one can be initiated.
Disable the LPTIM instance
Set LPTIM input 1 source (default GPIO).
Enable the timeout function
Disable the timeout function
Indicate whether the timeout function is enabled.
Configure the external trigger used as a trigger event for the LPTIM.
Get actual auto reload value
Configure the LPTIM instance output (LPTIMx_OUT)
Get actual external trigger source.
Get actual external trigger filter.
Get actual external trigger polarity.
Set the source of the clock used by the LPTIM instance.
Get actual LPTIM instance clock source.
Configure the active edge or edges used by the counter when the LPTIM is clocked by an external clock source.
Get actual clock polarity
Set the LPTIM registers update mode (enable/disable register preload)
Get the LPTIM registers update mode
Get actual waveform shape
Get actual output polarity
Set actual prescaler division ratio.
Get actual prescaler division ratio.
Inform application whether a compare match interrupt has occurred.
Clear the external trigger valid edge flag(EXTTRIGCF).
Inform application whether a valid edge on the selected external trigger input has occurred.
Get actual clock digital filter
Indicates whether the LPTIM operates in encoder mode.
Clear the compare match flag (CMPMCF)
Clear the counter direction change to up interrupt flag (UPCF).
Informs the application whether the counter direction has changed from down to up (when the LPTIM instance operates in encoder mode).
Clear the counter direction change to down interrupt flag (DOWNCF).
Informs the application whether the counter direction has changed from up to down (when the LPTIM instance operates in encoder mode).
Enable compare match interrupt (CMPMIE).
Disable compare match interrupt (CMPMIE).
Indicates whether the compare match interrupt (CMPMIE) is enabled.
Indicates whether the compare register write completed interrupt (CMPOKIE) is enabled.
Enable autoreload register write completed interrupt (ARROKIE).
Disable autoreload register write completed interrupt (ARROKIE).
Indicates whether the autoreload register write completed interrupt (ARROKIE) is enabled.
Enable direction change to up interrupt (UPIE).
Disable direction change to up interrupt (UPIE).
Indicates whether the direction change to up interrupt (UPIE) is enabled.
Enable direction change to down interrupt (DOWNIE).
Disable direction change to down interrupt (DOWNIE).
Indicates whether the direction change to down interrupt (DOWNIE) is enabled.
Disable autoreload match interrupt (ARRMIE).
Indicates whether the autoreload match interrupt (ARRMIE) is enabled.
Enable external trigger valid edge interrupt (EXTTRIGIE).
Disable external trigger valid edge interrupt (EXTTRIGIE).
Indicates external trigger valid edge interrupt (EXTTRIGIE) is enabled.
Enable compare register write completed interrupt (CMPOKIE).
Disable compare register write completed interrupt (CMPOKIE).