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 "gpio.h"
14#include "uart_drv.h"
15
16#define UART_DBG_PORT_ID 0
17#define GPIO_UART_DBG_RX 16
18#define GPIO_UART_DBG_TX 17
19
20#define GPIO_BUTTON1 4
21#define GPIO_BUTTON2 5
22
23#define GPIO_LED_RED 1
24#define GPIO_LED_GREEN 30
25#define GPIO_LED_BLUE 31
26
27#define LED_ON 0
28#define LED_OFF 1
29
30void tr_hal_init(void);
32 void *isr_param);
33
34
35#endif /* TR_HAL_CONFIG_H */
void tr_hal_init(void)
void tr_hal_button_interrupt_cb(uint32_t pin, void *isr_param)