谢谢这位兄弟的回答啊,但是这个好像也不是吧,TRM上是这样说明的:
7SplitMux Configures the analog mux bus for the CY8C24x94 and CY7C64215 PSoC devices. Left side con-nects to odd pins (P0[1], P5[5]) and right side connects to even pins (P0[2], P5[6]) with one exception:
P0[7] is a right side pin.
0 Single analog bux mux.
1 Split analog mux bus: left side pins connect to Analog Mux Bus Left and right side pins con-nect to Analog Mux Bus Right.
我觉得是你误解了,
Configures the analog mux bus for the CY8C
24x94 and CY7C64215 PSoC devices. Left side con-
nects to odd pins (P0[1], P5[5])
and right side connects to
even pins (P0[2], P5[6]) with one exception:
P0[7] is a right side pin.
意思是这个位用来配置CY8C24X94和CY7C64215的Analog Mux Bus. 这里省略了一句话,这两个系列的片子默认情况下有2条Analog Mux Bus, Left和Right. Left只能连奇数引脚, Right只能连偶数引脚。
0 Single analog mux bus.//当这个位设置为0的时候,CY8C24X94和CY7C64215就只有一条Analog Mux Bus了,就是把Left 和 Right Anolog Mux Bus短接到一块了。
1 Split analog mux bus: left side pins connect
to Analog Mux Bus Left and right side pins con-
nect to Analog Mux Bus Right //当这个位为1的时候,也就是默认的情况下,有2个Analog Mux Bus, Left Side Pin 接到 Left Analog Mux Bus, Right side Pin 接到 Right Analog Mux Bus.
这里的Left Side Pin和Right side Pin是指实际片子的左右,如果看一下datasheet, 可以看到不管什么封装,芯片左边的GPIO都是奇数的,右边都是偶数的。