Trident IoT SDK
 
Loading...
Searching...
No Matches
tr_hal_platform.h File Reference

This file contains the CHIP SPECIFIC types and defines for the T32CZ20. More...

#include "tr_hal_common.h"
#include "cm33.h"
#include "T32CZ20_gpio.h"
#include "T32CZ20_power.h"
#include "T32CZ20_uart.h"
#include "T32CZ20_timers.h"
#include "T32CZ20_spi.h"
#include "T32CZ20_rtc.h"
#include "T32CZ20_wdog.h"
#include "T32CZ20_trng.h"
+ Include dependency graph for tr_hal_platform.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tr_hal_gpio_pin_t
 pin type More...
 

Enumerations

enum  tr_hal_int_pri_t {
  TR_HAL_INTERRUPT_PRIORITY_HIGHEST = 1 ,
  TR_HAL_INTERRUPT_PRIORITY_1 = 1 ,
  TR_HAL_INTERRUPT_PRIORITY_2 = 2 ,
  TR_HAL_INTERRUPT_PRIORITY_3 = 3 ,
  TR_HAL_INTERRUPT_PRIORITY_4 = 4 ,
  TR_HAL_INTERRUPT_PRIORITY_5 = 5 ,
  TR_HAL_INTERRUPT_PRIORITY_6 = 6 ,
  TR_HAL_INTERRUPT_PRIORITY_7 = 7 ,
  TR_HAL_INTERRUPT_PRIORITY_LOWEST = 7
}
 

Functions

tr_hal_status_t tr_hal_check_interrupt_priority (tr_hal_int_pri_t interrupt_priority)
 

Detailed Description

This file contains the CHIP SPECIFIC types and defines for the T32CZ20.


SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com


Enumeration Type Documentation

◆ tr_hal_int_pri_t


this enum gives the values and a range checking function for setting the interrupt priority in the Trident HAL APIs


Enumerator
TR_HAL_INTERRUPT_PRIORITY_HIGHEST 
TR_HAL_INTERRUPT_PRIORITY_1 
TR_HAL_INTERRUPT_PRIORITY_2 
TR_HAL_INTERRUPT_PRIORITY_3 
TR_HAL_INTERRUPT_PRIORITY_4 
TR_HAL_INTERRUPT_PRIORITY_5 
TR_HAL_INTERRUPT_PRIORITY_6 
TR_HAL_INTERRUPT_PRIORITY_7 
TR_HAL_INTERRUPT_PRIORITY_LOWEST 

Function Documentation

◆ tr_hal_check_interrupt_priority()

tr_hal_status_t tr_hal_check_interrupt_priority ( tr_hal_int_pri_t interrupt_priority)

function to check if the interrupt priority is in the right range. returns TR_HAL_SUCCESS or error status.