parameters: (self, offset)
return_statement: return data
docstring: reads 32-bit registers from mmio region.
docstring_summary: reads 32-bit registers from mmio region.
docstring_tokens: reads 32 - bit registers from mmio region .
function: def reg32(self, offset):
          """
          reads 32-bit registers from mmio region.
          """
          data_be = self.mm[offset:offset + 4]
          # binary representation of the data to hexadecimal.
          data = binascii.hexlify(data_be[::-1])
          return data
function_tokens: def reg32 ( self , offset ) : data_be = self . mm [ offset : offset + 4 ] # binary representation of the data to hexadecimal. data = binascii . hexlify ( data_be [ : : - 1 ] ) return data