 |
MAX32675 Peripheral Driver API
Peripheral Driver API for the MAX32675
|
51 #if !defined(TRUE) || !defined(FALSE)
71 #define INFOBLOCK_LINE_SIZE 8
76 #define INFOBLOCK_LINE_OVERHEAD 2
81 #define INFOBLOCK_ICE_LOCK_SIZE 8
86 #define INFOBLOCK_WRITE_LOCK_LINE_SIZE 16
91 #define ICELOCK_UNMODIFIED_VALUE 0xFFFF
96 #define ICELOCK_EVEN_LOCK_VALUE 0xA5A5
101 #define ICELOCK_ODD_LOCK_VALUE 0x5A5A
107 #define INFOBLOCK_MAXIMUM_READ_LENGTH 64
112 #define INFOBLOCK_USN_OFFSET 0x00
118 #define INFOBLOCK_ICE_LOCK_OFFSET 0x30
123 #define INFOBLOCK_ICE_LOCK_MINIMUM 1
128 #define INFOBLOCK_KEY_OFFSET 0x1000
133 #define INFOBLOCK_KEY_SIZE 64
140 #define INFOBLOCK_ENABLE_SIZE (8)
145 #define INFOBLOCK_ENABLE_PATTERN 0x5A5AA5A5
lineformat_e
Three information block line types.
Definition: infoblock.h:156
@ INFOBLOCK_LINE_FORMAT_USN
Definition: infoblock.h:158
@ INFOBLOCK_LINE_FORMAT_DESIGN
Definition: infoblock.h:160
uint16_t crc15_highbitinput(uint16_t crc15val, uint8_t *input, int bitlength)
crc15_highbitinput Calculate CRC15 on data bits
int infoblock_readraw(uint32_t offset, uint8_t *data)
infoblock_readraw Read raw data from information block
@ INFOBLOCK_LINE_FORMAT_RAW
Definition: infoblock.h:159
int infoblock_read(uint32_t offset, uint8_t *data, int length)
infoblock_read Read formatted data from information block