OpenOCD
raw_bit.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
/***************************************************************************
4
* Copyright (C) 2022 by Daniel Anselmi *
5
* danselmi@gmx.ch *
6
***************************************************************************/
7
8
#ifndef OPENOCD_PLD_RAW_BIN_H
9
#define OPENOCD_PLD_RAW_BIN_H
10
11
#include <stddef.h>
12
#include <stdint.h>
13
14
struct
raw_bit_file
{
15
size_t
length
;
16
uint8_t *
data
;
17
};
18
19
int
cpld_read_raw_bit_file
(
struct
raw_bit_file
*bit_file,
const
char
*filename);
20
21
#endif
/* OPENOCD_PLD_RAW_BIN_H */
cpld_read_raw_bit_file
int cpld_read_raw_bit_file(struct raw_bit_file *bit_file, const char *filename)
Definition:
raw_bit.c:19
raw_bit_file
Definition:
raw_bit.h:14
raw_bit_file::data
uint8_t * data
Definition:
raw_bit.h:16
raw_bit_file::length
size_t length
Definition:
raw_bit.h:15
src
pld
raw_bit.h
Generated by
1.9.1