code: def info_to_datatype_v4(signed, little_endian):
      
  
      if signed:
          if little_endian:
              datatype = v4c.DATA_TYPE_SIGNED_INTEL
          else:
              datatype = v4c.DATA_TYPE_SIGNED_MOTOROLA
      else:
          if little_endian:
              datatype = v4c.DATA_TYPE_UNSIGNED_INTEL
          else:
              datatype = v4c.DATA_TYPE_UNSIGNED_MOTOROLA
  
      return datatype
docs: map CAN signal to MDF integer types
  
      Parameters
      ----------
      signed : bool
          signal is flagged as signed in the CAN database
      little_endian : bool
          signal is flagged as little endian (Intel) in the CAN database
  
      Returns
      -------
      datatype : int
          integer code for MDF channel data type