Hello forum. I'm new to c programming. I have been reading source files from my smt32 firmware and I came across this code. In one of my books I read that you can have macro functions. Is this function testing whether I2C1 and I2C2 is enabled?
#define IS_I2C_ALL_PERIPH(PERIPH) (((PERIPH) == I2C1) \ || ((PERIPH) == I2C2))