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;
1