stm32 /stm32c0 /STM32C031 /GPIOC /GPIOC_MODER

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as GPIOC_MODER

31282724232019161512118743000000000000000000000000000000000000000000 (B_0x0)MODE00 (B_0x0)MODE10 (B_0x0)MODE20 (B_0x0)MODE30 (B_0x0)MODE40 (B_0x0)MODE50 (B_0x0)MODE60 (B_0x0)MODE70 (B_0x0)MODE80 (B_0x0)MODE90 (B_0x0)MODE100 (B_0x0)MODE110 (B_0x0)MODE120 (B_0x0)MODE130 (B_0x0)MODE140 (B_0x0)MODE15

MODE0=B_0x0, MODE11=B_0x0, MODE4=B_0x0, MODE3=B_0x0, MODE5=B_0x0, MODE6=B_0x0, MODE7=B_0x0, MODE2=B_0x0, MODE1=B_0x0, MODE10=B_0x0, MODE12=B_0x0, MODE14=B_0x0, MODE9=B_0x0, MODE13=B_0x0, MODE15=B_0x0, MODE8=B_0x0

Description

GPIO port mode register

Fields

MODE0

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE1

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE2

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE3

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE4

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE5

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE6

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE7

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE8

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE9

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE10

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE11

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE12

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE13

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE14

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

MODE15

Port x configuration for I/O y (y = 15 to 0) These bits are written by software to set the I/O to one of four operating modes.

0 (B_0x0): Input

1 (B_0x1): Output

2 (B_0x2): Alternate function

3 (B_0x3): Analog

Links

()