SteM
2010-05-27 12:59:57 UTC
Hi all,
WinCE600 on Freescale iM25.
I'd like to read the presence of the SD in its slot from a win32 app.
I'm looking the ESDHC driver in the Freescale BSP and i see a function
called BspESDHCIsCardPresent().
How can i call it from an application?
Which API can i recall (i guess with a driver call) to achieve it?
I need it because after the boot my application checks the presence of a
file into the SD card.
It happens that with some SD cards (usually SD cards FAT32 formatted) the
file is not read.
Just to avoid to wait for too much time i'd like to wait only if a card is
inserted ...
WinCE600 on Freescale iM25.
I'd like to read the presence of the SD in its slot from a win32 app.
I'm looking the ESDHC driver in the Freescale BSP and i see a function
called BspESDHCIsCardPresent().
How can i call it from an application?
Which API can i recall (i guess with a driver call) to achieve it?
I need it because after the boot my application checks the presence of a
file into the SD card.
It happens that with some SD cards (usually SD cards FAT32 formatted) the
file is not read.
Just to avoid to wait for too much time i'd like to wait only if a card is
inserted ...
--
SteM
SteM