Trident IoT SDK
 
Loading...
Searching...
No Matches
tr_hal_platform.h
Go to the documentation of this file.
1
10
11#ifndef TR_HAL_PLATFORM_H_
12#define TR_HAL_PLATFORM_H_
13
14#include "tr_hal_common.h"
15#include "cm3_mcu.h"
16
17
18
22typedef struct
23{
24 uint32_t pin;
25
27
28
33typedef enum
34{
35 // DO NOT use pri 0, this will cause problems
36 // this is what the INT system uses
37 //TR_HAL_INTERRUPT_PRIORITY_0 = 0,
38
49
52
53
66#include "T32CM11_gpio.h"
67#include "T32CM11_power.h"
68#include "T32CM11_uart.h"
69#include "T32CM11_timers.h"
70#include "T32CM11_spi.h"
71#include "T32CM11_rtc.h"
72#include "T32CM11_wdog.h"
73#include "T32CM11_trng.h"
74
75
76
77#endif //TR_HAL_PLATFORM_H_
tr_hal_int_pri_t
values and a range checking function for setting the interrupt priority in the Trident HAL APIs
Definition tr_hal_platform.h:34
@ TR_HAL_INTERRUPT_PRIORITY_2
Definition tr_hal_platform.h:41
@ TR_HAL_INTERRUPT_PRIORITY_3
Definition tr_hal_platform.h:42
@ TR_HAL_INTERRUPT_PRIORITY_4
Definition tr_hal_platform.h:43
@ TR_HAL_INTERRUPT_PRIORITY_1
Definition tr_hal_platform.h:40
@ TR_HAL_INTERRUPT_PRIORITY_HIGHEST
Definition tr_hal_platform.h:39
@ TR_HAL_INTERRUPT_PRIORITY_5
Definition tr_hal_platform.h:44
@ TR_HAL_INTERRUPT_PRIORITY_6
Definition tr_hal_platform.h:45
tr_hal_status_t tr_hal_check_interrupt_priority(tr_hal_int_pri_t interrupt_priority)
check interrupt priority is in the right range
This is the chip specific include file for T32CM11 GPIO Driver note that there is a common include fi...
This is the chip specific include file for T32CM11 RTC Driver note that there is a common include fil...
This is the chip specific include file for T32CM11 SPI Driver note that there is a common include fil...
This is the chip specific include file for T32CM11 Timers Driver note that there is a common include ...
This is the chip specific include file for T32CM11 True Random Number Generator (TRNG)....
This is the chip specific include file for T32CM11 UART Driver note that there is a common include fi...
This is the chip specific include file for T32CM11 Watchdog Driver note that there is a common includ...
@ TR_HAL_INTERRUPT_PRIORITY_7
Definition tr_hal_platform.h:47
@ TR_HAL_INTERRUPT_PRIORITY_LOWEST
Definition tr_hal_platform.h:48
tr_hal_status_t
Definition tr_hal_common.h:25
pin type
Definition tr_hal_platform.h:23
uint32_t pin
Definition tr_hal_platform.h:24
This is the common include file for the Trident HAL.