STMicroelectronics /STM32U585 /GPIOA /GPIO_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 GPIO_MODER

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)MODE0 0 (B_0x0)MODE1 0 (B_0x0)MODE2 0 (B_0x0)MODE3 0 (B_0x0)MODE4 0 (B_0x0)MODE5 0 (B_0x0)MODE6 0 (B_0x0)MODE7 0 (B_0x0)MODE8 0 (B_0x0)MODE9 0 (B_0x0)MODE10 0 (B_0x0)MODE11 0 (B_0x0)MODE12 0 (B_0x0)MODE13 0 (B_0x0)MODE14 0 (B_0x0)MODE15

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

Description

GPIO port mode register

Fields

MODE0

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE1

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE2

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE3

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE4

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE5

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE6

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE7

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE8

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE9

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE10

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE11

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE12

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE13

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE14

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

MODE15

Port x configuration I/O pin y These bits are written by software to configure the I/O mode. Note: This field is reserved and must be kept at reset value when the corresponding I/O is not available on the selected package.

0 (B_0x0): Input mode

1 (B_0x1): General purpose output mode

2 (B_0x2): Alternate function mode

3 (B_0x3): Analog mode (reset state)

Links

()