Add wasm tacle-bench targets
This commit is contained in:
@ -0,0 +1,70 @@
|
||||
/*------------------------------------------------------------------------------
|
||||
|
||||
Copyright (C) 1998 : Space Systems Finland Ltd.
|
||||
|
||||
Space Systems Finland Ltd (SSF) allows you to use this version of
|
||||
the DEBIE-I DPU software for the specific purpose and under the
|
||||
specific conditions set forth in the Terms Of Use document enclosed
|
||||
with or attached to this software. In particular, the software
|
||||
remains the property of SSF and you must not distribute the software
|
||||
to third parties without written and signed authorization from SSF.
|
||||
|
||||
System Name: DEBIE DPU SW
|
||||
Module : target_ttc_ctrl.h
|
||||
|
||||
Macros and function prototypes for handling the Telecommand
|
||||
and Telemetry interface.
|
||||
|
||||
This version uses the harness functions for I/O and kernel simulation.
|
||||
|
||||
Based on the SSF DHI file ttc_ctrl.h, rev 1.11, Sun May 16 09:20:10 1999.
|
||||
|
||||
- * --------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
#ifndef TARGET_TTC_CTRL_H
|
||||
#define TARGET_TTC_CTRL_H
|
||||
|
||||
/* TC/TM interface functions, simulated */
|
||||
|
||||
extern unsigned char Read_TC_MSB ( void );
|
||||
extern unsigned char Read_TC_LSB ( void );
|
||||
extern void Write_TM_LSB ( unsigned char value );
|
||||
extern void Write_TM_MSB ( unsigned char value );
|
||||
|
||||
/* TC and TM register handling */
|
||||
|
||||
#define READ_TC_MSB Read_TC_MSB()
|
||||
#define READ_TC_LSB Read_TC_LSB()
|
||||
|
||||
#define WRITE_TM_LSB(TM_LSB) Write_TM_LSB(TM_LSB)
|
||||
#define WRITE_TM_MSB(TM_MSB) Write_TM_MSB(TM_MSB)
|
||||
|
||||
/* TM Interrupt flag */
|
||||
|
||||
#define CLEAR_TM_INTERRUPT_FLAG {}
|
||||
|
||||
/* TC Interrupt flag*/
|
||||
|
||||
#define CLEAR_TC_INTERRUPT_FLAG {}
|
||||
|
||||
/* TM and TC interrupt controls*/
|
||||
|
||||
#define SET_INT_TYPE1_EDGE {}
|
||||
#define SET_INT_TYPE0_EDGE {}
|
||||
|
||||
/* TC timer controls */
|
||||
|
||||
#define SET_TC_TIMER_MODE {}
|
||||
/* Set TC timer (0) mode : Mode 1, counter operation, SW control */
|
||||
|
||||
#define INIT_TC_TIMER_MSB {}
|
||||
#define INIT_TC_TIMER_LSB {}
|
||||
/* TC timer initialization macros */
|
||||
|
||||
#define START_TC_TIMER {}
|
||||
#define STOP_TC_TIMER {}
|
||||
/* TC timer run control macros */
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user