choose NVIC priority group 4 (4 bits for pre-emption priority, 0 bits for subpriority)