git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4827 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
94e6acd972
commit
1c2cc25385
|
@ -367,7 +367,7 @@
|
||||||
* PB6 - PIN6 (input pullup).
|
* PB6 - PIN6 (input pullup).
|
||||||
* PB7 - PIN7 (input pullup).
|
* PB7 - PIN7 (input pullup).
|
||||||
* PB8 - I2C1_SCL (alternate 4).
|
* PB8 - I2C1_SCL (alternate 4).
|
||||||
* PB9 - I2C1_SDA (alternate 0).
|
* PB9 - I2C1_SDA (alternate 4).
|
||||||
* PB10 - SPI2_SCK (alternate 5).
|
* PB10 - SPI2_SCK (alternate 5).
|
||||||
* PB11 - PIN11 (input pullup).
|
* PB11 - PIN11 (input pullup).
|
||||||
* PB12 - OTG_HS_ID (alternate 12).
|
* PB12 - OTG_HS_ID (alternate 12).
|
||||||
|
@ -464,7 +464,7 @@
|
||||||
PIN_AFIO_AF(GPIOB_PIN6, 0) | \
|
PIN_AFIO_AF(GPIOB_PIN6, 0) | \
|
||||||
PIN_AFIO_AF(GPIOB_PIN7, 0))
|
PIN_AFIO_AF(GPIOB_PIN7, 0))
|
||||||
#define VAL_GPIOB_AFRH (PIN_AFIO_AF(GPIOB_I2C1_SCL, 4) | \
|
#define VAL_GPIOB_AFRH (PIN_AFIO_AF(GPIOB_I2C1_SCL, 4) | \
|
||||||
PIN_AFIO_AF(GPIOB_I2C1_SDA, 0) | \
|
PIN_AFIO_AF(GPIOB_I2C1_SDA, 4) | \
|
||||||
PIN_AFIO_AF(GPIOB_SPI2_SCK, 5) | \
|
PIN_AFIO_AF(GPIOB_SPI2_SCK, 5) | \
|
||||||
PIN_AFIO_AF(GPIOB_PIN11, 0) | \
|
PIN_AFIO_AF(GPIOB_PIN11, 0) | \
|
||||||
PIN_AFIO_AF(GPIOB_OTG_HS_ID, 12) | \
|
PIN_AFIO_AF(GPIOB_OTG_HS_ID, 12) | \
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
<pin8 ID="I2C1_SCL" Type="OpenDrain" Speed="Maximum" Resistor="Floating"
|
<pin8 ID="I2C1_SCL" Type="OpenDrain" Speed="Maximum" Resistor="Floating"
|
||||||
Level="High" Mode="Alternate" Alternate="4" />
|
Level="High" Mode="Alternate" Alternate="4" />
|
||||||
<pin9 ID="I2C1_SDA" Type="OpenDrain" Speed="Maximum" Resistor="Floating"
|
<pin9 ID="I2C1_SDA" Type="OpenDrain" Speed="Maximum" Resistor="Floating"
|
||||||
Level="High" Mode="Alternate" Alternate="0" />
|
Level="High" Mode="Alternate" Alternate="4" />
|
||||||
<pin10 ID="SPI2_SCK" Type="PushPull" Speed="Maximum" Resistor="Floating"
|
<pin10 ID="SPI2_SCK" Type="PushPull" Speed="Maximum" Resistor="Floating"
|
||||||
Level="High" Mode="Alternate" Alternate="5" />
|
Level="High" Mode="Alternate" Alternate="5" />
|
||||||
<pin11 ID="" Type="PushPull" Speed="Maximum" Resistor="PullUp"
|
<pin11 ID="" Type="PushPull" Speed="Maximum" Resistor="PullUp"
|
||||||
|
|
Loading…
Reference in New Issue