Trident IoT Zigbee SDK
Loading...
Searching...
No Matches
tr_hal_config.h
Go to the documentation of this file.
1
10
#ifndef TR_HAL_CONFIG_H
11
#define TR_HAL_CONFIG_H
12
#include "cm3_mcu.h"
13
#include "tr_hal_gpio.h"
14
#include "tr_hal_uart.h"
15
#include "tr_hal_timers.h"
16
#include "tr_hal_spi.h"
17
#include "tr_hal_rtc.h"
18
#include "tr_hal_wdog.h"
19
20
#define UART_DBG_PORT_ID 0
21
#define GPIO_UART_DBG_RX (tr_hal_gpio_pin_t){ 16 }
22
#define GPIO_UART_DBG_TX (tr_hal_gpio_pin_t){ 17 }
23
24
#define GPIO_BUTTON1 (tr_hal_gpio_pin_t){ 14 }
25
#define GPIO_BUTTON2 (tr_hal_gpio_pin_t){ 9 }
26
27
#define GPIO_LED_RED (tr_hal_gpio_pin_t){ 15 }
28
#define GPIO_LED_GREEN (tr_hal_gpio_pin_t){ 22 }
29
#define GPIO_LED_BLUE (tr_hal_gpio_pin_t){ 23 }
30
31
#define LED_ON 0
32
#define LED_OFF 1
33
34
#define TR_WEAK __attribute__((weak))
35
36
37
void
tr_hal_init
(
void
);
38
void
tr_hal_button_interrupt_cb
(tr_hal_gpio_pin_t pin,
39
tr_hal_gpio_event_t event);
40
41
42
#endif
/* TR_HAL_CONFIG_H */
tr_hal_init
void tr_hal_init(void)
tr_hal_button_interrupt_cb
void tr_hal_button_interrupt_cb(tr_hal_gpio_pin_t pin, tr_hal_gpio_event_t event)
projects
empty_zed
hal_config_perseus_T32CM11
tr_hal_config.h
Generated on Tue Jun 3 2025 02:01:47 for Trident IoT Zigbee SDK by
1.10.0