Rev 110 | Rev 116 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 110 | Rev 112 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | 8 | ||
9 | typedef struct |
9 | typedef struct |
10 | { |
10 | { |
11 | u8* pData; |
11 | u8* pData; |
- | 12 | u16 Size; |
|
12 | u16 Size; |
13 | u16 DataBytes; |
13 | u16 Position; |
14 | u16 Position; |
14 | u8 Locked; |
15 | u8 Locked; |
Line -... | Line 16... | ||
- | 16 | } __attribute__((packed)) Buffer_t; |
|
- | 17 | ||
- | 18 | extern void Buffer_Init(Buffer_t* pBuffer, u8* pDataBuffer, u16 DataBufferSize); |
|
15 | } __attribute__((packed)) Buffer_t; |
19 | extern void Buffer_Clear(Buffer_t* pBuffer); |
16 | 20 | ||
17 | typedef struct |
21 | typedef struct |
18 | { |
22 | { |
19 | u8 Address; |
23 | u8 Address; |