parameters: (self, data, bits)
return_statement: return crc
docstring: Extract the crc encoded in a message
      
          data - bytearray of message input
          bits - number of bits in message
      
          return - 24bit checksum as encoded in message
docstring_summary: Extract the crc encoded in a message
      
          data - bytearray of message input
          bits - number of bits in message
      
          return - 24bit checksum as encoded in message
docstring_tokens: Extract the crc encoded in a message data - bytearray of message input bits - number of bits in message return - 24bit checksum as encoded in message
function: def adsb_msg_get_crc(self, data, bits):
          """
          Extract the crc encoded in a message
      
          data - bytearray of message input
          bits - number of bits in message
      
          return - 24bit checksum as encoded in message
          """
      
          crc = (data[int(bits / 8) - 3] << 16)
          crc |= (data[int(bits / 8) - 2] << 8) 
          crc |= (data[int(bits / 8) - 1])
      
          return crc
function_tokens: def adsb_msg_get_crc ( self , data , bits ) : crc = ( data [ int ( bits / 8 ) - 3 ] << 16 ) crc |= ( data [ int ( bits / 8 ) - 2 ] << 8 ) crc |= ( data [ int ( bits / 8 ) - 1 ] ) return crc