Hello David,
- Which version of IDE do you used ? I used the CW 10.6.4, when i set the FTM1 priority to
"1" , the generated code is :
/* NVICIP63: PRI63=0x10 */
NVICIP63 = NVIC_IP_PRI63(0x10);

The result is right .
- For this device , one byte(8 bit) support one interrupt priority use the NVIC_IPR register ,
while the low 4 bits have no effect, the default data is "0000" , so only the high 4 bits indicate
the priority . For example , if the priority is "1", the data should be 0x10, not 0x01 .
- About "NVICIPR15" , this is the define register on ARM M4 core, while , in this chip ,
it doesn't defined as this name . As we know , on NVICIPR register includes 4 bytes ,

in this chip , defined all the bytes :

From the RM of K60, we can see FTM1 IRQ is 63, so the result is NVICIP63 = NVIC_IP_PRI63(0x10);
Does this can helps you ?
Have a great day,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------