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

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

#include "tr_hal_common.h"
#include "cm3_mcu.h"
#include "T32CM11_gpio.h"
#include "T32CM11_power.h"
#include "T32CM11_uart.h"
#include "T32CM11_timers.h"
#include "T32CM11_spi.h"
#include "T32CM11_rtc.h"
#include "T32CM11_wdog.h"
#include "T32CM11_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
}
 values and a range checking function for setting the interrupt priority in the Trident HAL APIs More...
 

Functions

tr_hal_status_t tr_hal_check_interrupt_priority (tr_hal_int_pri_t interrupt_priority)
 check interrupt priority is in the right range
 

Detailed Description

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


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


Enumeration Type Documentation

◆ tr_hal_int_pri_t

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)

check interrupt priority is in the right range