This is the chip specific include file for T32CZ20 PWM Driver note that there is a common include file for this HAL module that contains the APIs (such as the init function) that should be used by the application. More...
#include "tr_hal_platform.h"Go to the source code of this file.
Data Structures | |
| struct | PWM_REGISTERS_T |
| the struct we use so we can address registers using field names More... | |
| struct | tr_hal_pwm_settings_t |
Enumerations | |
| enum | tr_hal_pwm_id_t { PWM_0_ID = 0 , PWM_1_ID = 1 , PWM_2_ID = 2 , PWM_3_ID = 3 , PWM_4_ID = 4 } |
| enum | tr_hal_pwm_clk_div_t { TR_HAL_PWM_CLOCK_DIVIDER_1 = 1 , TR_HAL_PWM_CLOCK_DIVIDER_2 = 2 , TR_HAL_PWM_CLOCK_DIVIDER_4 = 3 , TR_HAL_PWM_CLOCK_DIVIDER_8 = 4 , TR_HAL_PWM_CLOCK_DIVIDER_16 = 5 , TR_HAL_PWM_CLOCK_DIVIDER_32 = 6 , TR_HAL_PWM_CLOCK_DIVIDER_64 = 7 , TR_HAL_PWM_CLOCK_DIVIDER_128 = 8 , TR_HAL_PWM_CLOCK_DIVIDER_256 = 9 } |
| enum | tr_hal_pwm_clk_select_t { TR_HAL_PWM_CLK_SELECT_HCLK = 0 , TR_HAL_PWM_CLK_SELECT_PER_CLK = 1 , TR_HAL_PWM_CLK_SELECT_RCO_1M = 2 , TR_HAL_PWM_CLK_SELECT_SLOW_CLK = 3 , TR_HAL_PWM_CLK_SELECT_DEFAULT = 0 } |
Functions | |
| PWM_REGISTERS_T * | tr_hal_pwm_get_register_address (tr_hal_pwm_id_t pwm_id) |
This is the chip specific include file for T32CZ20 PWM Driver note that there is a common include file for this HAL module that contains the APIs (such as the init function) that should be used by the application.
this chip supports 5 PWMs at one time. Each PWM can be assigned to a GPIO
SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com