git subrepo clone git@git.pcmuhely.hu:mississippi/mississippi-mcu-platform-x86_gtest.git platforms/test
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"
This commit is contained in:
parent
62afeabbbc
commit
2c3fbb4db8
281 changed files with 114282 additions and 0 deletions
33
platforms/test/platform/crc_ll.h
Normal file
33
platforms/test/platform/crc_ll.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* 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_ */
|
Loading…
Add table
Add a link
Reference in a new issue