Hi Mark
Which Register do we need to configure to increase priority of Pin 3(PTE 2) of MK60FN1M0VLQ12?
We are loosing change to 1 state. This is because interrupt pin is HIGH, when we see ISR routine stop getting called. And ISR was called few times before that.
Below is our ISR.
PE_ISR(EInt1_Interrupt)
{
/* {Default RTOS Adapter} ISR parameter is passed through the global variable */
EInt1_TDeviceDataPtr DeviceDataPrv = INT_PORTE__DEFAULT_RTOS_ISRPARAM;
PORT_PDD_ClearPinInterruptFlag(PORTE_BASE_PTR, EInt1_PIN_INDEX);
EInt1_OnInterrupt(DeviceDataPrv->UserData);
//PORT_PDD_ClearPinInterruptFlag(PORTE_BASE_PTR, EInt1_PIN_INDEX);
}
void EInt1_OnInterrupt(LDD_TUserData *UserDataPtr)
{
if (int_cnt0 < 900)
{
adxl_xyz[int_cnt0] = adxl_read_XYZ_opt();
int_cnt0++;
}
else
int_cnt0 = 0;
// adxl_interrupt_enable();
}
Thanks
Smita