📄 monolithic_neptune_a9.h
字号:
/*************************************************************************************
*
* TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION
*
* Property of Texas Instruments
* For Unrestricted Internal Use Only
* Unauthorized reproduction and/or distribution is strictly prohibited.
* This product is protected under copyright law and trade secret law
* as an unpublished work.
* Created 2002, (C) Copyright 2002 Texas Instruments. All rights reserved.
*
* Filename : monolithic_neptune_a9.h
*
* Project : NEPTUNE
*
* ===========================================================================*/
/* ----------------------------------------------------------------------
* Include files
* ---------------------------------------------------------------------- */
/* ARM lib include files */
#include <stddef.h>
#include <stdio.h>
#include "global_types.h"
#include "inth2.h"
#include "boot_a9.h"
#include "interrupt_mapping.h"
//#include "configuration.h"
#include "ulpd.h"
#include "testaccess.h"
#include "clkrst.h"
#include "mailbox.h"
#include "ssw.h"
#include "string.h"
#include "uart_modem1.h"
#include "uart_modem2.h"
#include "uart_modem3.h"
#include "dspstart.h"
#include "io_configuration.h"
#include "omap_32_apif.h"
#include "printf_a9.h"
#include "triton_functions.h"
#include "share.h"
/* ----------------------------------------------------------------------
* Global variables
* ---------------------------------------------------------------------- */
/* Mailboxes Interrupt counters */
extern UWORD16 count_mb1_int, count_mb2_int;
/* Mailboxes registers */
extern UWORD16 dspmbx_rega, dspmb2_rega;
extern UWORD16 dspmbx_regb, dspmb2_regb;
/* If ABB automation, the AUTO variable will be set to True */
extern BOOL AUTO;
/* ----------------------------------------------------------------------
* Function prototypes
* ---------------------------------------------------------------------- */
/* ============================================================================
* GLOBAL DEFINITIONS
* =============================================================================
*/
#define MODEL_SIM
#define RW_WAIT_WRITE_COMPLETE(ModuleRegister,FieldName) while((ModuleRegister & (0x00000001 << ModuleRegister ## _ ## FieldName ## _POS)));
#define RW_SLOW_WRITE(RegisterName) RegisterName=TmpRegister;
#define RW_SLOW_READ(RegisterName) TmpRegister=RegisterName;
#define ARM_IDLECT3_reg (UWORD32 *) 0xFFFECE24
#define TIME_OUT 0x200
#define GMC_SYNC 12
#define GMC_ERR 4
#define GMC_RDY 6
#define STATUS_REQ_REG_REG ULPD_SOFT_REQ_REG
#define UART1_DPLL_REQ_POS ULPD_SOFT_REQ_REG_SOFT_UART1_REQ_POS
#define UART2_DPLL_REQ_POS ULPD_SOFT_REQ_REG_SOFT_UART2_REQ_POS
#define UART3_DPLL_REQ_POS ULPD_SOFT_REQ_REG_SOFT_UART3_REQ_POS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -