This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

interrupt towards own function

I should have an own function wich is called upon after Port 3 goes low. I haven't succeeded yet using ppi channels. (I'm using the NRF51422)

For the moment the code is:

static void gpiote_init(void) { nrf_gpiote_event_config(0,3, NRF_GPIOTE_POLARITY_HITOLO); }

static void ppi_init(void) { NRF_PPI->CH[0].EEP = (uint32_t)&NRF_GPIOTE->EVENTS_IN[1]; NRF_PPI->CH[0].TEP = ??? NRF_PPI->CHEN = (PPI_CHEN_CH0_Enabled << PPI_CHEN_CH0_Pos);

}

It should go to function read_ADS1299() which contains primarily SPI and UART

thanks in advance

Parents Reply Children
No Data
Related