both firmware and test are build and run using Makefile
This commit is contained in:
parent
6b628e9412
commit
fd24d10fb7
346 changed files with 141567 additions and 28 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