stm32 /stm32h5 /STM32H563 /SDMMC1 /SDMMC_POWER

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 SDMMC_POWER

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)PWRCTRL 0 (B_0x0)VSWITCH 0 (B_0x0)VSWITCHEN 0 (B_0x0)DIRPOL

PWRCTRL=B_0x0, VSWITCH=B_0x0, VSWITCHEN=B_0x0, DIRPOL=B_0x0

Description

SDMMC_POWER

Fields

PWRCTRL

SDMMC state control bits These bits can only be written when the SDMMC is not in the power-on state (PWRCTRL different 11). These bits are used to define the functional state of the SDMMC signals: stopped, SDMMC_D[7:0], SDMMC_CMD and SDMMC_CK are driven high. Any further write is ignored, PWRCTRL value keeps 11.

0 (B_0x0): After reset, Reset: the SDMMC is disabled and the clock to the Card is stopped, SDMMC_D[7:0], and SDMMC_CMD are HiZ and SDMMC_CK is driven low.When written 00, power-off: the SDMMC is disabled and the clock to the card is

1 (B_0x1): Reserved. (When written 01, PWRCTRL value does not change)

2 (B_0x2): Power-cycle, the SDMMC is disabled and the clock to the card is stopped, SDMMC_D[7:0], SDMMC_CMD and SDMMC_CK are driven low.

3 (B_0x3): Power-on: the card is clocked, The first 74 SDMMC_CK cycles the SDMMC is still disabled. After the 74 cycles the SDMMC is enabled and the SDMMC_D[7:0], SDMMC_CMD and SDMMC_CK are controlled according the SDMMC operation.

VSWITCH

Voltage switch sequence start This bit is used to start the timing critical section of the voltage switch sequence:

0 (B_0x0): Voltage switch sequence not started and not active.

1 (B_0x1): Voltage switch sequence started or active.

VSWITCHEN

Voltage switch procedure enable This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). This bit is used to stop the SDMMC_CK after the voltage switch command response:

0 (B_0x0): SDMMC_CK clock kept unchanged after successfully received command response.

1 (B_0x1): SDMMC_CK clock stopped after successfully received command response.

DIRPOL

Data and command direction signals polarity selection This bit can only be written when the SDMMC is in the power-off state (PWRCTRL = 00).

0 (B_0x0): Voltage transceiver IOs driven as output when direction signal is low.

1 (B_0x1): Voltage transceiver IOs driven as output when direction signal is high.

Links

()