;--------------------------------------------------------------------------------------------------------- ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 ; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态> ;--------------------------------------------------------------------------------------------------------- ;---------------------------------------------------------------------------------- ;i2c configuration ;---------------------------------------------------------------------------------- ;[twi0] ;twi0_scl = port:PA16<4><1> ;twi0_sda = port:PA17<4><1> [twi1] twi1_scl = port:PA06<4><1> twi1_sda = port:PA07<4><1> ;[twi2] ;twi2_scl = port:PH05<4><1> ;twi2_sda = port:PH06<4><1> ;[twi3] ;twi3_scl = port:PI03<4><1> ;twi3_sda = port:PI04<4><1> ;[twi4] ;twi4_scl = port:PI01<4><1> ;twi4_sda = port:PI02<4><1> ;---------------------------------------------------------------------------------- ;uart configuration ;---------------------------------------------------------------------------------- ;[uart0] ;uart_tx = port:PB08<5><1> ;uart_rx = port:PB09<5><1> ;[uart1] ;uart_tx = port:PB10<5><1> ;uart_rx = port:PB11<5><1> ;[uart2] ;uart_tx = port:PH05<5><1> ;uart_rx = port:PH06<5><1> [uart3] uart_tx = port:PE00<7><1> uart_rx = port:PE01<7><1> [sensor0] used0 = 1 reset0 = port:PA11<1><1> pwdn0 = port:PA09<1><1> mclk0 = port:PA10<4><1>