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

📄 hcanobja.h

📁 example of using Infineon 81c91 processor.
💻 H
字号:
/***********************************************************************
*                                                                      *
*  H E A D E R - F I L E                                               *
*                                                                      *
*  C A N   O B J E C T  A D M I N I S T R A T I O N                    *
*                                                                      *
************************************************************************/

/* Maximale Anzahl Objekte die an einen Task gebunden werden k攏nen */
#define MAX_BIND_OBJ 8

void c_init_obj_buf (void);

byte c_define_obj (unsigned int identifier,
                   byte data_length,
                   byte obj_typ);

byte c_get_index_from_ident (unsigned int identifier);

unsigned int c_get_ident (byte index);

byte c_get_rec_bind (byte task_id);

byte c_get_obj_typ (byte index);

void c_write_data (byte index,
                   byte xdata *arr);

void c_read_data (byte index,
                  byte xdata *arr);

unsigned int c_receive_obj (void);

byte c_transmit_obj (byte index,
                     byte xdata *arr);

byte c_send_remote (byte index);

byte c_set_bind (byte index,
                 byte task_id);

void c_clear_bind (byte index);

byte c_get_bind (byte index);

void c_set_read (byte index);

void c_set_all_read (void);




⌨️ 快捷键说明

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