stmhal: Toggle LED using ODR ^= pin_mask.