Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
tr_hal_config.h File Reference

pin definitions for Trident Perseus board More...

#include "cm3_mcu.h"
#include "gpio.h"
#include "uart_drv.h"
+ Include dependency graph for tr_hal_config.h:

Go to the source code of this file.

Macros

#define UART_DBG_PORT_ID   0
 
#define GPIO_UART_DBG_RX   16
 
#define GPIO_UART_DBG_TX   17
 
#define GPIO_BUTTON1   14
 
#define GPIO_BUTTON2   9
 
#define GPIO_LED_RED   15
 
#define GPIO_LED_GREEN   22
 
#define GPIO_LED_BLUE   23
 
#define LED_ON   0
 
#define LED_OFF   1
 

Functions

void tr_hal_init (void)
 
void tr_hal_button_interrupt_cb (uint32_t pin, void *isr_param)
 

Detailed Description

pin definitions for Trident Perseus board


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


Macro Definition Documentation

◆ GPIO_BUTTON1

#define GPIO_BUTTON1   14

◆ GPIO_BUTTON2

#define GPIO_BUTTON2   9

◆ GPIO_LED_BLUE

#define GPIO_LED_BLUE   23

◆ GPIO_LED_GREEN

#define GPIO_LED_GREEN   22

◆ GPIO_LED_RED

#define GPIO_LED_RED   15

◆ GPIO_UART_DBG_RX

#define GPIO_UART_DBG_RX   16

◆ GPIO_UART_DBG_TX

#define GPIO_UART_DBG_TX   17

◆ LED_OFF

#define LED_OFF   1

◆ LED_ON

#define LED_ON   0

◆ UART_DBG_PORT_ID

#define UART_DBG_PORT_ID   0

Function Documentation

◆ tr_hal_button_interrupt_cb()

void tr_hal_button_interrupt_cb ( uint32_t pin,
void * isr_param )

◆ tr_hal_init()

void tr_hal_init ( void )