NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
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
19int twi_flash_setup(void);
20int twi_flash_erase(void);
21int twi_flash_stream_get(uint32_t* rdata);
22int twi_flash_stream_put(uint32_t wdata);
23
24#endif // TWI_FLASH_H
int twi_flash_stream_get(uint32_t *rdata)
Definition twi_flash.c:160
int twi_flash_stream_put(uint32_t wdata)
Definition twi_flash.c:183
int twi_flash_setup(void)
Definition twi_flash.c:117
int twi_flash_erase(void)
Definition twi_flash.c:148