User Activity

Posted on July 17, 2013 at 11:03HI , i have this function which sets x bit( passed as a parameter) of a byte . after some code the variable should be restored to it's initial value .char a ; global variable void function(char x){int b = a;a |= (1<<x...
Posted on June 29, 2013 at 11:13Hi , I have the following initialisation ://ADXL interrupt port pin  AFIO->EXTICR[0] |= AFIO_EXTICR1_EXTI2_PD; EXTI->IMR |= EXTI_IMR_MR2; EXTI->RTSR = EXTI_RTSR_TR2; NVIC_EnableIRQ(EXTI2_IRQn); //user alert button PA...
Posted on February 22, 2013 at 09:12Hi, I am trying to make a simple delay function using a timer but i get weird results .Here is some of the code void TIMERS_init(){   TIM3->PSC = 23999; // f timer = fclk / 24000 => 1kHz TIM3->ARR = 0xFFFF; TIM3->...