| M480 BSP V3.05.001 The Board Support Package for M480 Series

Macros | Functions
sdh.c File Reference

M480 SDH driver source file. More...

`#include <stdio.h>`
`#include <stdlib.h>`
`#include <string.h>`
`#include "NuMicro.h"`

Go to the source code of this file.

## Macros
#define | SDH_BLOCK_SIZE 512ul

## Functions
void | SDH_Open (SDH_T *sdh, uint32_t u32CardDetSrc)
| This function use to reset SD function and select card detection source and pin. More...
uint32_t | SDH_Probe (SDH_T *sdh)
| This function use to initial SD card. More...
uint32_t | SDH_Read (SDH_T *sdh, uint8_t *pu8BufAddr, uint32_t u32StartSec, uint32_t u32SecCount)
| This function use to read data from SD card. More...
uint32_t | SDH_Write (SDH_T *sdh, uint8_t *pu8BufAddr, uint32_t u32StartSec, uint32_t u32SecCount)
| This function use to write data to SD card. More...

## Detailed Description

M480 SDH driver source file.

Version
  V1.00 SPDX-License-Identifier: Apache-2.0

Copyright
  (C) 2016-2020 Nuvoton Technology Corp. All rights reserved.

Definition in file sdh.c.