mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-05-07 16:34:59 -04:00
Make initial public release
This commit is contained in:
commit
715de60f4a
251 changed files with 881225 additions and 0 deletions
22
hw/application_fpga/fw/mta1_mkdf/lib.h
Normal file
22
hw/application_fpga/fw/mta1_mkdf/lib.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* Copyright (C) 2022 - Tillitis AB
|
||||
* SPDX-License-Identifier: GPL-2.0-only
|
||||
*/
|
||||
|
||||
#ifndef LIB_H
|
||||
#define LIB_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
void putc(int ch);
|
||||
void lf();
|
||||
void puthex(uint8_t c);
|
||||
void putinthex(const uint32_t n);
|
||||
int puts(const char *s);
|
||||
void hexdump(uint8_t *buf, int len);
|
||||
void *memset(void *dest, int c, unsigned n);
|
||||
void *memcpy(void *dest, const void *src, unsigned n);
|
||||
void *wordcpy(void *dest, const void *src, unsigned n);
|
||||
int memeq(void *dest, const void *src, unsigned n);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue