NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
sw
bootloader
hal
include
twi_flash.h
Go to the documentation of this file.
1
// ================================================================================ //
2
// The NEORV32 RISC-V Processor - https://github.com/stnolting/neorv32 //
3
// Copyright (c) NEORV32 contributors. //
4
// Copyright (c) 2020 - 2025 Stephan Nolting. All rights reserved. //
5
// Licensed under the BSD-3-Clause license, see LICENSE for details. //
6
// SPDX-License-Identifier: BSD-3-Clause //
7
// ================================================================================ //
8
14
#ifndef TWI_FLASH_H
15
#define TWI_FLASH_H
16
17
#include <stdint.h>
18
19
int
twi_flash_setup
(
void
);
20
int
twi_flash_erase
(
void
);
21
int
twi_flash_stream_get
(uint32_t* rdata);
22
int
twi_flash_stream_put
(uint32_t wdata);
23
24
#endif
// TWI_FLASH_H
twi_flash_stream_get
int twi_flash_stream_get(uint32_t *rdata)
Definition
twi_flash.c:160
twi_flash_stream_put
int twi_flash_stream_put(uint32_t wdata)
Definition
twi_flash.c:183
twi_flash_setup
int twi_flash_setup(void)
Definition
twi_flash.c:117
twi_flash_erase
int twi_flash_erase(void)
Definition
twi_flash.c:148
Generated by
1.12.0