src/occ_405/amec/amec_sensors_centaur.c
// Function Specification
//
// Name: amec_update_dimm_dts_sensors
//
// Description: Updates sensors that have data grabbed by the fast core data
// task.
//
// Thread: RealTime Loop
//
// End Function Specification
Function Specification
Name: amec_update_dimm_dts_sensors

Updates sensors that have data grabbed by the fast core data
task.



End Function Specification
Function Specification Name : amec_update_dimm_dts_sensors Updates sensors that have data grabbed by the fast core data task . End Function Specification
void amec_update_centaur_sensors(uint8_t i_centaur)
{
    if(CENTAUR_PRESENT(i_centaur))
    {
        CentaurMemData * l_sensor_cache = cent_get_centaur_data_ptr(i_centaur);
        if(CENTAUR_UPDATED(i_centaur))
        {
            amec_update_dimm_dts_sensors(l_sensor_cache, i_centaur);
            amec_update_centaur_dts_sensors(l_sensor_cache, i_centaur);
        }
        amec_perfcount_getmc(l_sensor_cache, i_centaur);
        CLEAR_CENTAUR_UPDATED(i_centaur);
    }
}
void amec_update_centaur_sensors ( uint8_t i_centaur ) { if ( CENTAUR_PRESENT ( i_centaur ) ) { CentaurMemData * l_sensor_cache = cent_get_centaur_data_ptr ( i_centaur ) ; if ( CENTAUR_UPDATED ( i_centaur ) ) { amec_update_dimm_dts_sensors ( l_sensor_cache , i_centaur ) ; amec_update_centaur_dts_sensors ( l_sensor_cache , i_centaur ) ; } amec_perfcount_getmc ( l_sensor_cache , i_centaur ) ; CLEAR_CENTAUR_UPDATED ( i_centaur ) ; } }
Function Specification
Name: amec_update_dimm_dts_sensors
Function Specification Name : amec_update_dimm_dts_sensors