ChibiOS/HAL  6.1.0
hal_gpt_lld.h File Reference

PLATFORM GPT subsystem low level driver header. More...

Go to the source code of this file.

Data Structures

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

Macros

#define gpt_lld_change_interval(gptp, interval)
 Changes the interval of GPT peripheral. More...
 
PLATFORM configuration options
#define PLATFORM_GPT_USE_GPT1   FALSE
 GPTD1 driver enable switch. More...
 

Typedefs

typedef uint32_t gptfreq_t
 GPT frequency type. More...
 
typedef uint16_t gptcnt_t
 GPT counter type. More...
 

Functions

void gpt_lld_init (void)
 Low level GPT driver initialization. More...
 
void gpt_lld_start (GPTDriver *gptp)
 Configures and activates the GPT peripheral. More...
 
void gpt_lld_stop (GPTDriver *gptp)
 Deactivates the GPT peripheral. More...
 
void gpt_lld_start_timer (GPTDriver *gptp, gptcnt_t interval)
 Starts the timer in continuous mode. More...
 
void gpt_lld_stop_timer (GPTDriver *gptp)
 Stops the timer. More...
 
void gpt_lld_polled_delay (GPTDriver *gptp, gptcnt_t interval)
 Starts the timer in one shot mode and waits for completion. More...
 

Detailed Description

PLATFORM GPT subsystem low level driver header.

Definition in file hal_gpt_lld.h.