27#if (HAL_USE_GPT == TRUE) || defined(__DOXYGEN__)
95#if defined(GPT_LLD_ENHANCED_API)
void gpt_lld_start(GPTDriver *gptp)
Configures and activates the GPT peripheral.
void gpt_lld_polled_delay(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in one shot mode and waits for completion.
void gpt_lld_stop(GPTDriver *gptp)
Deactivates the GPT peripheral.
void gptPolledDelay(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in one shot mode and waits for completion.
void gpt_lld_start_timer(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in continuous mode.
void gptObjectInit(GPTDriver *gptp)
Initializes the standard part of a GPTDriver structure.
#define gptChangeIntervalI(gptp, interval)
Changes the interval of GPT peripheral.
void gptInit(void)
GPT Driver initialization.
void gpt_lld_stop_timer(GPTDriver *gptp)
Stops the timer.
void gptStop(GPTDriver *gptp)
Deactivates the GPT peripheral.
void gptStartOneShot(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in one shot mode.
void gptStartOneShotI(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in one shot mode.
uint16_t gptcnt_t
GPT counter type.
void gptChangeInterval(GPTDriver *gptp, gptcnt_t interval)
Changes the interval of GPT peripheral.
void gptStopTimer(GPTDriver *gptp)
Stops the timer.
void gpt_lld_init(void)
Low level GPT driver initialization.
void gptStartContinuous(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in continuous mode.
void gptStopTimerI(GPTDriver *gptp)
Stops the timer.
void gptStartContinuousI(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in continuous mode.
msg_t gptStart(GPTDriver *gptp, const GPTConfig *config)
Configures and activates the GPT peripheral.
static void osalSysLock(void)
Enters a critical zone from thread context.
static void osalSysUnlock(void)
Leaves a critical zone from thread context.
int32_t msg_t
Type of a message.
#define osalDbgAssert(c, remark)
Condition assertion.
#define osalDbgCheck(c)
Function parameters check.
#define osalDbgCheckClassI()
I-Class state check.
Driver configuration structure.
gptcallback_t callback
Timer callback pointer.
Structure representing a GPT driver.
const GPTConfig * config
Current configuration data.
gptstate_t state
Driver state.