subrepo: subdir: "platforms/test" merged: "a470f35" upstream: origin: "git@git.pcmuhely.hu:mississippi/mississippi-mcu-platform-x86_gtest.git" branch: "master" commit: "a470f35" git-subrepo: version: "0.4.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "7cac75d"
33 lines
754 B
C
33 lines
754 B
C
/*
|
|
* crc_ll.h
|
|
*
|
|
* Created on: Nov 22, 2019
|
|
* Author: abody
|
|
*/
|
|
|
|
#ifndef PLATFORM_CRC_LL_H_
|
|
#define PLATFORM_CRC_LL_H_
|
|
|
|
#include <inttypes.h>
|
|
|
|
#ifndef __IO
|
|
# define __IO volatile
|
|
#endif // __IO
|
|
|
|
/**
|
|
* @brief CRC calculation unit
|
|
*/
|
|
|
|
typedef struct
|
|
{
|
|
__IO uint32_t DR; /*!< CRC Data register, Address offset: 0x00 */
|
|
__IO uint8_t IDR; /*!< CRC Independent data register, Address offset: 0x04 */
|
|
uint8_t RESERVED0; /*!< Reserved, 0x05 */
|
|
uint16_t RESERVED1; /*!< Reserved, 0x06 */
|
|
__IO uint32_t CR; /*!< CRC Control register, Address offset: 0x08 */
|
|
} CRC_TypeDef;
|
|
|
|
|
|
|
|
|
|
#endif /* PLATFORM_CRC_LL_H_ */
|