Public Attributes | List of all members
pwm_handle_t Struct Reference
Peripheral Driver » HAL Driver » PWM » Structures » PWM handle

PWM handle Structure definition. More...

`#include <gr533x_hal_pwm.h>`

## Public Attributes
pwm_regs_t * | p_instance
pwm_init_t | init
hal_pwm_active_channel_t | active_channel
__IO hal_lock_t | lock
__IO hal_pwm_state_t | state
dma_handle_t * | p_dma
uint32_t | retention [15]
hal_status_t(* | p_hal_pwm_update_freq )(void)

## Detailed Description

PWM handle Structure definition.

Definition at line 244 of file gr533x_hal_pwm.h.

## Member Data Documentation

## ◆ active_channel

hal_pwm_active_channel_t pwm_handle_t::active_channel

Active channel

Definition at line 250 of file gr533x_hal_pwm.h.

## ◆ init

pwm_init_t pwm_handle_t::init

Required parameters for PWM Base

Definition at line 248 of file gr533x_hal_pwm.h.

## ◆ lock

__IO hal_lock_t pwm_handle_t::lock

Lock object

Definition at line 252 of file gr533x_hal_pwm.h.

## ◆ p_dma

dma_handle_t* pwm_handle_t::p_dma

PWM DMA Handle parameters

Definition at line 256 of file gr533x_hal_pwm.h.

## ◆ p_hal_pwm_update_freq

hal_status_t(* pwm_handle_t::p_hal_pwm_update_freq) (void)

PWM update_freq function.

Definition at line 260 of file gr533x_hal_pwm.h.

## ◆ p_instance

pwm_regs_t* pwm_handle_t::p_instance

Register base address

Definition at line 246 of file gr533x_hal_pwm.h.

## ◆ retention

uint32_t pwm_handle_t::retention[15]

PWM important register information.

Definition at line 258 of file gr533x_hal_pwm.h.

## ◆ state

__IO hal_pwm_state_t pwm_handle_t::state

PWM operation state

Definition at line 254 of file gr533x_hal_pwm.h.

The documentation for this struct was generated from the following file:

- gr533x_hal_pwm.h