2023-08-30 16:21:18 +08:00
|
|
|
/*
|
2024-09-03 11:16:08 +08:00
|
|
|
* Copyright (c) 2023-2024, ArtInChip Technology Co., Ltd
|
2023-08-30 16:21:18 +08:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2024-04-03 16:40:57 +08:00
|
|
|
#ifndef __AIC_UTILS_H_
|
|
|
|
|
#define __AIC_UTILS_H_
|
2023-08-30 16:21:18 +08:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
void hexdump(unsigned char *buf, unsigned long len, int groupsize);
|
2024-09-03 11:16:08 +08:00
|
|
|
void hexdump_msg(char *msg, unsigned char *buf, unsigned long len, int groupsize);
|
2024-04-03 16:40:57 +08:00
|
|
|
|
|
|
|
|
void show_speed(char *msg, unsigned long len, unsigned long us);
|
2024-09-03 11:16:08 +08:00
|
|
|
#ifdef LPKG_USING_FDTLIB
|
|
|
|
|
int pinmux_fdt_parse(void);
|
|
|
|
|
#endif
|
2023-08-30 16:21:18 +08:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2024-04-03 16:40:57 +08:00
|
|
|
#endif /* __AIC_UTILS_H_ */
|