STM32讀具體GPIOx的某一位是1還是01 /**2 * @brief Reads the specified input port pin.3 * @param GPIOx: where x can be (A..G) to select the GPIO peripheral.4 * @param GPIO_Pin: specifies the port bit
剛剛調(diào)好了個(gè)24c256的操作,自己在程序里搞了個(gè)連續(xù)讀寫的函數(shù)!很煩那頁寫跨頁的問題,所以干脆做了個(gè)通用點(diǎn)的函數(shù),小于3字節(jié)的寫就用隨機(jī)寫,大于3字節(jié)的就用頁寫!共享拉! 真正供其他操作調(diào)用的函數(shù)是: uncha