;--------------------------------------------------------------------------------------------------------- ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 ; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态> ;--------------------------------------------------------------------------------------------------------- ;---------------------------------------------------------------------------------- ;i2c configuration ;---------------------------------------------------------------------------------- [twi0] twi0_scl = port:PA16<4><0> twi0_sda = port:PA17<4><0> [twi1] twi1_scl = port:PA14<4><0> twi1_sda = port:PA15<4><0> ;[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:PE16<3><1> twi4_sda = port:PE17<3><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:PG00<4><1> uart_rx = port:PG01<4><1> [sensor0] used0 = 1 reset0 = port:PA18<1><1> ;pwdn0 = port:PA19<1><1> mclk0 = port:PA12<4><2> [sensor1] used1 = 1 reset1 = port:PA21<1><1> ;pwdn1 = port:PA21<1><1> mclk1 = port:PA13<4><2> [sensor2] used2 = 1 reset2 = port:PI04<1><1> ;pwdn2 = port:PA21<1><1> mclk2 = port:PE01<2><2>