pub fn parse_param_key(key: &str) -> Option<(u16, Option<u32>)>
Splits "41[0xf00]" into the parameter and the mask.
"41[0xf00]"