const SUBGROUP_FORM_MASK: u8 = 0xD0;
The bits a subgroup header type must fix: 7 and 6 clear, 4 set. That is the form 0b00X1XXXX written as a mask, leaving bit 5 and the low nibble free.
0b00X1XXXX