init_1161.c

来自「isp1161驱动代码是我下载并该动后而成,还有点缺点,但对你可能有点帮助」· C语言 代码 · 共 34 行

C
34
字号
/*
**  Kenobi2          version 1.3
**
**      ** This code has been made to check/learn the 1161 functionalities ** 
**      ** Release 25-Feb-2002                                             **
**
**      OKANO, Akifumi  / Jason Ong
**      
**		Computing Segment, Semisonductors Div, Philips Japan Ltd.
**      akifumi.okano@philips.com
**      +81-3-3740-4668 
*/


#include		<stdio.h>
#include		<dos.h>
#include		<conio.h>

#include		"hc_comm.h"
#include		"hw_acces.h"
#include		"init.h"
#include		"ui.h"
#include		"isr.h"
#include		"isr_as.h"
#include		"data_tr.h"
#include		"general.h"
#include		"pci.h"


/*
**		register init values
*/
#define		InitVal_HcInterruptDisable		0xFFFFFFFF
#define		InitVal_HcInterruptEnable		0x80000060/*b31禁止中断的产生。在一次硬件复位或软件复位后,该域被设置

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?