LCOV - code coverage report
Current view: top level - SITL - SIM_JEDEC_MX25L3206E.cpp (source / functions) Hit Total Coverage
Test: lcov.info Lines: 8 8 100.0 %
Date: 2026-09-09 11:02:08 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #include "SIM_config.h"
       2             : 
       3             : #if AP_SIM_JEDEC_MX25L3206E_ENABLED
       4             : 
       5             : #include "SIM_JEDEC_MX25L3206E.h"
       6             : 
       7             : using namespace SITL;
       8             : 
       9           5 : void JEDEC_MX25L3206E::fill_rdid(uint8_t *buffer, uint8_t len)
      10             : {
      11           5 :     buffer[0] = 0xC2;
      12           5 :     buffer[1] = type;
      13           5 :     buffer[2] = density;
      14           5 : }
      15             : 
      16       73005 : void JEDEC_MX25L3206E::fill_rdsr(uint8_t *buffer, uint8_t len)
      17             : {
      18             :     // we never allow multiple operations at a time
      19             :     // hence we can never be busy while reading the status register
      20       73005 :     buffer[0] = 0x00;
      21       73005 : }
      22             : 
      23             : #endif  // AP_SIM_JEDEC_MX25L3206E_ENABLED

Generated by: LCOV version 1.14