PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Data Fields
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.
TCPWM_GRP_CNT_Type * | grp_cnt_base
| The base address of the group counter.
uint32_t | max_count
| The max count for the counter.
const mtb_hal_clock_t * | clock
| 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.

## ◆ grp_cnt_base

TCPWM_GRP_CNT_Type* mtb_hal_tcpwm_t::grp_cnt_base

The base address of the group counter.

## ◆ 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.