mirror of
https://github.com/Gericom/libtwl.git
synced 2025-06-19 03:25:34 -04:00
Added swi_getCrc16
This commit is contained in:
parent
3bfebfa18e
commit
d1a830f42b
@ -5,6 +5,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void swi_waitByLoop(u32 iterations);
|
extern void swi_waitByLoop(u32 iterations);
|
||||||
|
extern u16 swi_getCrc16(u16 initialCrcValue, const void* src, u32 length);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -6,3 +6,9 @@
|
|||||||
swi_waitByLoop:
|
swi_waitByLoop:
|
||||||
swi #3
|
swi #3
|
||||||
bx lr
|
bx lr
|
||||||
|
|
||||||
|
.global swi_getCrc16
|
||||||
|
.type swi_getCrc16, %function
|
||||||
|
swi_getCrc16:
|
||||||
|
swi #0xE
|
||||||
|
bx lr
|
||||||
|
Loading…
Reference in New Issue
Block a user