MCPcopy Create free account
hub / github.com/MCUdude/MiniCore / write_buffer

Method write_buffer

avr/libraries/Flash/src/Flash.cpp:94–97  ·  view source on GitHub ↗

* @brief Wrapper function for the RAM buffer. Lets you write a byte to a given * memory address * * @param index memory address * @param value 8-bit value to write to the memory location */

Source from the content-addressed store, hash-verified

92 * @param value 8-bit value to write to the memory location
93 */
94void Flash::write_buffer(uint8_t index, uint8_t value)
95{
96 _ram_array[index] = value;
97}
98
99/**
100 * @brief Function that returns the size of the allocated RAM buffer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected