CC3200_bsp_generator.PeripheralRegisterGenerator.ParseHex C# (CSharp) Method

ParseHex() private static method

private static ParseHex ( string hex ) : ulong
hex string
return ulong
        private static ulong ParseHex(string hex)
        {
            if (hex.StartsWith("0x"))
                hex = hex.Substring(2);
            return ulong.Parse(hex, System.Globalization.NumberStyles.HexNumber);
        }