Jump to main content

##

# 2.106.10 SDMMCx_ClockSet Function

## C

    /* x = SDMMC instance number */

    bool SDMMCx_ClockSet ( uint32_t clock)

## Summary

Sets the SDMMC clock frequency.

## Description

Sets the SDMMC clock frequency.

## Precondition

SDMMCx_Initialize() must have been called first for the associated instance.

## Parameters

Param | Description
--- | ---
clock | SDMMC clock frequency

## Returns

None.

## Example

    SDMMC1_ClockSet(400000);

## Remarks

None.