!
        @brief Get info about the sector that contains this address.

def get_sector_info(self, addr):
        """!
        @brief Get info about the sector that contains this address.
        """
        assert self.region is not None
        if not self.region.contains_address(addr):
            return None

        info = SectorInfo()
        info.erase_weight = self.region.erase_sector_weight
        info.size = self.region.blocksize
        info.base_addr = addr - (addr % info.size)
        return info