rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Structures
hal_gpt_lld.h File Reference

Data Structures

struct  GPTConfig
 Driver configuration structure. More...
 
struct  GPTDriver
 Structure representing a GPT driver. More...
 

Configuration options

typedef uint32_t gptfreq_t
 GPT frequency type.
 
typedef uint32_t gptcnt_t
 GPT counter type.
 
GPTDriver GPTD1
 GPTD1 driver identifier.
 
GPTDriver GPTD2
 GPTD2 driver identifier.
 
GPTDriver GPTD3
 GPTD3 driver identifier.
 
GPTDriver GPTD4
 GPTD4 driver identifier.
 
void gpt_lld_init (void)
 Low level GPT driver initialization.
 
void gpt_lld_start (GPTDriver *gptp)
 Configures and activates the GPT peripheral.
 
void gpt_lld_stop (GPTDriver *gptp)
 Deactivates the GPT peripheral.
 
void gpt_lld_start_timer (GPTDriver *gptp, gptcnt_t interval)
 Starts the timer in continuous mode.
 
void gpt_lld_stop_timer (GPTDriver *gptp)
 Stops the timer.
 
void gpt_lld_polled_delay (GPTDriver *gptp, gptcnt_t interval)
 Starts the timer in one shot mode and waits for completion.
 

Go to the source code of this file.