I'm writing a LLD for the Kinetis K64F's SDHC peripheral. I have a handful of questions about how the higher level driver expects the LLD to behave. I can make guesses about some of them but I'd rather have the info from a more authoritative source
My main question right now is the sdc_lld_sync() function, which is in the template, but it's not clear what it's for. It's not called by anything I can find. What is it supposed to do?
SDC LLD development questions
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: SDC LLD development questions
Hi,
It is called by sdcSync() in hal_sdc.c, implementation is not mandatory, the STM32 driver does not implement it.
Giovanni
It is called by sdcSync() in hal_sdc.c, implementation is not mandatory, the STM32 driver does not implement it.
Giovanni
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: SDC LLD development questions
It is supposed to wait until all driver-related activity is over. It is part of the ioblock interface, it is not necessary meaningful for an SD card.
Giovanni
Giovanni