Custom board file updated.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5595 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
barthess 2013-04-19 06:53:13 +00:00
parent 5597fabe0b
commit b482a3497e
1 changed files with 27 additions and 0 deletions

View File

@ -52,3 +52,30 @@ void __early_init(void) {
*/
void boardInit(void) {
}
/**
* @brief Inserion monitor function.
*
* @param[in] sdcp pointer to the @p SDCDriver object
*
* @notapi
*/
bool_t sdc_lld_is_card_inserted(SDCDriver *sdcp) {
(void)sdcp;
return !palReadPad(GPIOE, GPIOE_SDIO_DETECT);
}
/**
* @brief Protection detection.
* @note Not supported, allways not protected.
*
* @param[in] sdcp pointer to the @p SDCDriver object
*
* @notapi
*/
bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) {
(void)sdcp;
return FALSE;
}