19 LPC_PINCON->PINSEL4 |= (0b010101 << 20);
22 LPC_GPIO2->FIODIR &= ~(0b111 << 10);
27 LPC_SC->EXTMODE = 0x7;
28 LPC_SC->EXTPOLAR = 0x0;
47 LPC_PINCON->PINSEL4 &= ~(0b010101 << 20);
48 LPC_SC->EXTMODE = 0x0;
49 LPC_SC->EXTPOLAR = 0x0;
51 NVIC_DisableIRQ(EINT0_IRQn);
52 NVIC_DisableIRQ(EINT1_IRQn);
53 NVIC_DisableIRQ(EINT2_IRQn);
RIT_Error RIT_EnableJob(RIT_Job job)
Include this job in the RIT handler queue.
RIT_Error RIT_RemoveJob(RIT_Job job)
Removes a job from the RIT interrupt handler job queue.
RIT_Error RIT_AddJob(RIT_Job job, u8 multiplier_factor)
bool RIT_IsEnabled(void)
Returns whether the RIT is counting or not.
#define RIT_NO_DIVIDER
Tells the RIT that the specified job needs to be executed at exactly the interval of interrupts chose...