上传者: X1195080411
|
上传时间: 2022-05-11 17:25:46
|
文件大小: 2KB
|
文件类型: ZIP
MAX6675驱动代码,包含.C文件和 .h文件
#define MAX6675_CS2 GPIO_Pin_12
#define MAX6675_CSL2() GPIOB->BRR = MAX6675_CS2;
#define MAX6675_CSH2() GPIOB->BSRR = MAX6675_CS2;
#define MAX6675_CS1 GPIO_Pin_8
#define MAX6675_CSL1() GPIOD->BRR = MAX6675_CS1;
#define MAX6675_CSH1() GPIOD->BSRR = MAX6675_CS1;