/* * Copyright (c) 2006-2019, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2019-03-27 xuzhuoyi the first version */ #ifndef __RTCONFIG_PROJECT_H__ #define __RTCONFIG_PROJECT_H__ typedef signed char rt_int8_t; /**< 8bit integer type */ typedef signed short rt_int16_t; /**< 16bit integer type */ typedef signed long rt_int32_t; /**< 32bit integer type */ typedef signed long long rt_int64_t; /**< 64bit integer type */ typedef unsigned char rt_uint8_t; /**< 8bit unsigned integer type */ typedef unsigned short rt_uint16_t; /**< 16bit unsigned integer type */ typedef unsigned long rt_uint32_t; /**< 32bit unsigned integer type */ typedef unsigned long long rt_uint64_t; /**< 64bit unsigned integer type */ typedef unsigned long rt_size_t; /**< Type for size number */ /* C28X automatically disable interrupt in interrupt service routine. * We need to enable manually to allow for interrupt nesting by calling * this macro at the start of preemptible interrupt service routines*/ #define ALLOW_ISR_PREEMPT() __asm(" CLRC INTM") #endif