adg726.h

来自「Functions to connect ADG726 multiplexer 」· C头文件 代码 · 共 18 行

H
18
字号
#ifndef ADG276_H_
#define ADG726_H_

#include "ioavr.h"

#define ADG726_A0       PORTD_PORTD3
#define ADG726_A1       PORTD_PORTD4
#define ADG726_A2       PORTD_PORTD5
#define ADG726_A3       PORTD_PORTD6
#define ADG726_nEN      PORTD_PORTD7

#define ADG726_SET_PORT       DDRD = 0xFF; PORTD = 0xFF;

void adg726_init();
void adg726_selectchannel(int channel);

#endif

⌨️ 快捷键说明

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