Hardware Abstraction Layer (HAL)
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
mtb_hal_tcpwm_t Struct Reference

Description

Shared TCPWM data between timer/counter and PWM.

Application code should not rely on the specific content of this struct. They are considered an implementation detail which is subject to change between platforms and/or HAL releases.

Data Fields

TCPWM_Type * base
 The base address pointer of the TCPWM resource.
 
uint32_t group
 The associated group number.
 
uint32_t cntnum
 The associated counter number.
 
uint32_t max_count
 The max count for the counter.
 
const mtb_hal_clock_tclock
 The associated clock resource pointer.
 
uint32_t clock_hz
 The associated clock frequency.
 

Field Documentation

◆ base

TCPWM_Type* mtb_hal_tcpwm_t::base

The base address pointer of the TCPWM resource.

◆ group

uint32_t mtb_hal_tcpwm_t::group

The associated group number.

◆ cntnum

uint32_t mtb_hal_tcpwm_t::cntnum

The associated counter number.

◆ max_count

uint32_t mtb_hal_tcpwm_t::max_count

The max count for the counter.

◆ clock

const mtb_hal_clock_t* mtb_hal_tcpwm_t::clock

The associated clock resource pointer.

◆ clock_hz

uint32_t mtb_hal_tcpwm_t::clock_hz

The associated clock frequency.