Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hy4245_data_flash_block Struct Reference

Data flash block for HY4245_FUEL_GAUGE_DATA_FLASH_BLOCK. More...

#include <zephyr/drivers/fuel_gauge/hy4245.h>

Data Fields

uint8_t subclass
 Data flash subclass id.
uint8_t block
 Block number within the subclass.
uint8_t len
 Number of valid bytes in data, at most HY4245_DATA_FLASH_BLOCK_SIZE.
uint8_t data [32U]
 Block data.

Detailed Description

Data flash block for HY4245_FUEL_GAUGE_DATA_FLASH_BLOCK.

Field Documentation

◆ block

uint8_t hy4245_data_flash_block::block

Block number within the subclass.

◆ data

uint8_t hy4245_data_flash_block::data[32U]

Block data.

◆ len

uint8_t hy4245_data_flash_block::len

Number of valid bytes in data, at most HY4245_DATA_FLASH_BLOCK_SIZE.

◆ subclass

uint8_t hy4245_data_flash_block::subclass

Data flash subclass id.


The documentation for this struct was generated from the following file: