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