After configuring ADC0, I tried to trigger ADC0SS3 for sampling by ADCProcessorTrigger(ADC0_BASE,3).
But problem occured, I found the API could not write correct value into corresponding register, ADC_PSSI.
I think the value of ADC_PSSI_SS3 should be 1 after ADCProcessorTrigger excution, but it wasn't, it was still 0.
I also use
HWREG(ADC0_BASE + ADC_O_PSSI) |= ((3 & 0xffff0000) |
(1 << (3 & 0xf)));
to write this register,didn't work either.
Would it causes a failure trigger? Because I've suffered it for several days, which almost drive me crazy.
P.S.
I have tried to write ADC_PSSI_SYNCWAIT to test whether every bit of this register can't be wrote or not. But unbelieveble it works! ADC_PSSI_SYNCWAIT set by 1.
Then I wrote the ADC_PSSI_SS3 bit, and it works, too. Then I erased the ADC_PSSI_SYNCWAIT, expecting I finally solved this problem.But immediately ADC_PSSI_SYNCWAIT cleared, ADC_PSSI_SS3 cleared, too.At last I still got a damn blank register.
Hoping for help.