STM32H7xx Missing CRC Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
piwi1263
Posts: 11
Joined: Mon May 15, 2017 2:19 pm
Has thanked: 5 times
Been thanked: 2 times

STM32H7xx Missing CRC

Post by piwi1263 »

Hi there,

it seems that the CRC enable, disable and reset macros are missing.

Please insert, add following lines to the RCC helper driver header:

Code: Select all

/**
 * @name    CRC peripheral specific RCC operations
 * @{
 */
/**
 * @brief   Enables the CRC peripheral clock.
 *
 * @param[in] lp        low power enable flag
 *
 * @api
 */
#define rccEnableCRC(lp) rccEnableAHB4(RCC_AHB4ENR_CRCEN, lp)

/**
 * @brief   Disables the CRC peripheral clock.
 *
 * @api
 */
#define rccDisableCRC() rccDisableAHB4(RCC_AHB4ENR_CRCEN)

/**
 * @brief   Resets the CRC peripheral.
 *
 * @api
 */
#define rccResetCRC() rccResetAHB4(RCC_AHB4RSTR_CRCRST)
/** @} */



Thanks and kind regards,

Peter.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: STM32H7xx Missing CRC

Post by Giovanni »

Hi,

Fixed as bug #1137.

Giovanni
Post Reply