04 2024 档案

摘要:#include "spi.h" void SPI_GPIO_Init(void) { //hardware make PSB low to enable serial communication GPIO_InitTypeDef GPIO_InitStruct; RCC_APB2PeriphClo 阅读全文
posted @ 2024-04-05 21:26 了解2号 阅读(408) 评论(0) 推荐(0) 编辑
摘要:CH1--SDA; CH2--SCL。 #include "iic.h" void IIC_GPIO_Init(void) { GPIO_InitTypeDef GPIO_InitStruct; RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE) 阅读全文
posted @ 2024-04-02 13:54 了解2号 阅读(154) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示