默认芯片STM32系列。PA0PA7作为开关输入口,初始值为高电平。要求写出初始化函数void init_PA_0_7(void)和开关量读取函数unsigned char read_PA_0_7(void),读取函数的返回值为 PA07的值,PA7为最高位,依次到PA0为最低位。