⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hms30c7202_can.h

📁 HMS30C7202下的CAN驱动
💻 H
字号:
/* hms30c7202_can.h
 * Header file for the Linux CAN-bus driver.
 * Written by Sebastian Stolzenberg email:stolzi@sebastian-stolzenberg.de
 * Version 1.0  04 Feb 2003
 */

#ifndef __HMS30C7202_CAN__
# define __HMS30C7202_CAN__

# include <linux/types.h>
# include <linux/pci.h>
# include "candrv.h"

/**
 * Define prototypes
 */
int hms30c7202_init_hw_data( struct chip_t *pchip,
			     u16 chip_nr,
			     u16 minor,
			     u32 baseaddr,
			     u8 irq );
int hms30c7202_init_chip_data( struct chip_t *pchip, u8 chipnr );
int hms30c7202_request_io(  struct chip_t *pchip  );
int hms30c7202_release_io(  struct chip_t *pchip  );
int hms30c7202_reset(  struct chip_t *pchip  );
void hms30c7202_write_register( u16 data, struct chip_t *pchip, int reg);
u16 hms30c7202_read_register( struct chip_t *pchip, int reg );

int hms30c7202_init_obj_data(struct chip_t *pchip, u16 objnr, u16 minor);

#endif

⌨️ 快捷键说明

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