pub fn read_data_array(
    address: u32,
    index: u8,
    offset: u8,
    element_size: u8,
    buffer: *const u8,
    length: usize
)