99 lines
3.1 KiB
C
99 lines
3.1 KiB
C
/*
|
|
ChibiOS - Copyright (C) 2006..2022 Giovanni Di Sirio
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
/*
|
|
* This file has been automatically generated using ChibiStudio board
|
|
* generator plugin. Do not edit manually.
|
|
*/
|
|
|
|
#include "hal.h"
|
|
|
|
/*===========================================================================*/
|
|
/* Driver local definitions. */
|
|
/*===========================================================================*/
|
|
|
|
/*===========================================================================*/
|
|
/* Driver exported variables. */
|
|
/*===========================================================================*/
|
|
|
|
/*===========================================================================*/
|
|
/* Driver local variables and types. */
|
|
/*===========================================================================*/
|
|
|
|
/*===========================================================================*/
|
|
/* Driver local functions. */
|
|
/*===========================================================================*/
|
|
|
|
/*===========================================================================*/
|
|
/* Driver interrupt handlers. */
|
|
/*===========================================================================*/
|
|
|
|
/*===========================================================================*/
|
|
/* Driver exported functions. */
|
|
/*===========================================================================*/
|
|
|
|
#if HAL_USE_SDC || defined(__DOXYGEN__)
|
|
/**
|
|
* @brief SDC card detection.
|
|
*/
|
|
bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
|
|
|
|
(void)sdcp;
|
|
/* CHTODO: Fill the implementation.*/
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* @brief SDC card write protection detection.
|
|
*/
|
|
bool sdc_lld_is_write_protected(SDCDriver *sdcp) {
|
|
|
|
(void)sdcp;
|
|
/* CHTODO: Fill the implementation.*/
|
|
return false;
|
|
}
|
|
#endif /* HAL_USE_SDC */
|
|
|
|
#if HAL_USE_MMC_SPI || defined(__DOXYGEN__)
|
|
/**
|
|
* @brief MMC_SPI card detection.
|
|
*/
|
|
bool mmc_lld_is_card_inserted(MMCDriver *mmcp) {
|
|
|
|
(void)mmcp;
|
|
/* CHTODO: Fill the implementation.*/
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* @brief MMC_SPI card write protection detection.
|
|
*/
|
|
bool mmc_lld_is_write_protected(MMCDriver *mmcp) {
|
|
|
|
(void)mmcp;
|
|
/* CHTODO: Fill the implementation.*/
|
|
return false;
|
|
}
|
|
#endif
|
|
|
|
/**
|
|
* @brief Board-specific initialization code.
|
|
* @note You can add your board-specific code here.
|
|
*/
|
|
void boardInit(void) {
|
|
|
|
}
|