Definition in file msp430_iar/tr_port.h.
#include "proj_config.h"
#include <msp430.h>
#include <intrinsics.h>
#include <stdint.h>
#include <tiros/tr_time.h>
#include "porttime.h"
Include dependency graph for msp430_iar/tr_port.h:
Go to the source code of this file.
Defines | |
#define | subtime_t uint16_t |
#define | LT_INLINE static inline |
#define | TRPORT_INF_TIME {~0 , ~0 } |
#define | TIROS_REGISTER_PASSING |
#define | ILLEGAL_STACK ((osstkptr_t) ~0) |
#define | ILLEGAL_ADDR ((osptr_t) ~0) |
#define | OS_PORT_CRITICAL_ENABLE() /*@unused@*/ istate_t osint_int_status |
#define | OS_PORT_ISR_BEGIN() |
#define | OS_PORT_CRITICAL_BEGIN() |
#define | OS_PORT_CRITICAL_END() __set_interrupt_state(osint_int_status); |
#define | OS_PORT_INT_ENABLE() __enable_interrupt() |
#define | OS_PORT_INT_DISABLE() __disable_interrupt() |
#define | MSP430_INIT_STACK_OCCUPANCY 14 |
#define | TRPORT_MIN_CTXT_SZ (MSP430_INIT_STACK_OCCUPANCY + 1 ) |
#define | PORT_WAKEUP_RESPONSE_SUBUNITS 40 |
#define | TRPORT_RESPONSE_TIME { 0, PORT_WAKEUP_RESPONSE_SUBUNITS } |
#define | TRPORT_MSP_OSTIMER A |
#define | TIROS_KERNEL_TRAP_ENABLED 1 |
#define | KTRAP_PIN BIT5 |
Typedefs | |
typedef uintptr_t | osword_t |
typedef void * | osptr_t |
typedef osword_t * | osstkptr_t |
typedef void(*) | osfnptr_t (void *) |
typedef uintptr_t | osptrword_t |
Functions | |
static void | hal_retval_set (osstkptr_t stackptr, osptr_t retval) |
static void | OS_KERNEL_TRAP (void) |