ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
mb85rc1mt.h File Reference

Driver for mb87rc1mt FRAM chip. More...

#include <stddef.h>
#include <stdint.h>
#include "fram.h"

Go to the source code of this file.

Functions

fram_status mb85rc1mt_write (fram_addr addr, const uint8_t *data, size_t len)
 Write bytes to FRAM at the given address.
 
fram_status mb85rc1mt_read (fram_addr addr, size_t len, uint8_t *data)
 Read bytes from FRAM at the given address.
 
fram_addr mb85rc1mt_size (void)
 Get the total size of FRAM in bytes.
 

Detailed Description

Driver for mb87rc1mt FRAM chip.

Ported from the baremetal STM32 HAL implementation in ENTS-node-firmware. Uses libtock-c I2C master API instead of HAL_I2C_Mem_Write/Read.

Datasheet: https://www.fujitsu.com/uk/Images/MB85RC1MT.pdf

Author
Pritish Mahato
Date
2026-02-25

Copyright (c) 2026 jLab, UCSC

Definition in file mb85rc1mt.h.