stm32: hash: move to peripherals API docs

Drop redundant .c files and add groupings and labels.  Eliminates
warnings from doxygen
This commit is contained in:
Karl Palsson 2019-06-11 21:56:01 +00:00 committed by Karl Palsson
parent a143e5644e
commit b287bbd322
3 changed files with 3 additions and 64 deletions

View File

@ -1,4 +1,6 @@
/** @addtogroup hash_file
/** @addtogroup hash_file HASH Peripheral API
*
* @ingroup peripheral_apis
*
* @author @htmlonly © @endhtmlonly 2013
* Mikhail Avkhimenia <mikhail@avkhimenia.net>
@ -145,7 +147,6 @@ void hash_digest()
Makes a copy of the resulting hash.
@param[out] data unsigned int32. Hash 4\5 words long depending on the algorithm.
@param[in] algorithm unsigned int8. Hash algorithm: @ref hash_algorithm
*/
void hash_get_result(uint32_t *data)

View File

@ -1,31 +0,0 @@
/** @defgroup hash_file HASH
*
* @ingroup STM32F2xx
*
* @brief <b>libopencm3 STM32F2xx Hash Processor</b>
*
* @version 1.0.0
*
* @date 14 January 2014
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/hash.h>

View File

@ -1,31 +0,0 @@
/** @defgroup hash_file HASH
*
* @ingroup STM32F4xx
*
* @brief <b>libopencm3 STM32F4xx Hash Processor</b>
*
* @version 1.0.0
*
* @date 13 January 2014
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/hash.h>