<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_agc_value(self):
 """ Returns sensor's Automatic Gain Control actual value. 0 - Represents high magtetic field 0xFF - Represents low magnetic field """

        LOGGER.debug("Reading RPS01A sensor's AGC settings",)
        return self.bus.read_byte_data(self.address, self.AGC_reg)