Electronic Components Datasheet Search
  English  ▼

X  

UM0851 Datasheet(PDF) 31 Page - STMicroelectronics

Part # UM0851
Description  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 Datasheet(HTML) 31 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 27Page - STMicroelectronics UM0851 Datasheet HTML 28Page - STMicroelectronics UM0851 Datasheet HTML 29Page - STMicroelectronics UM0851 Datasheet HTML 30Page - STMicroelectronics UM0851 Datasheet HTML 31Page - STMicroelectronics UM0851 Datasheet HTML 32Page - STMicroelectronics UM0851 Datasheet HTML 33Page - STMicroelectronics UM0851 Datasheet HTML 34Page - STMicroelectronics UM0851 Datasheet HTML 35Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 245 page
background image
UM0851
Platform section
Doc ID 16604 Rev 2
31/245
default:
printk("XXX: set_mode=Error!!!\n");
break;
}
}
static int clockevent_next_event(unsigned long cycles,
struct clock_event_device* clk_event_dev )
{
spear_timer_set_load_start(clk_event_tmr, 0, (u16)cycles);
return 0;
}
static void __init hrt_clockevent_init(void)
{
u32 tick_rate;
clk_event_tmr = spear_timer_request_specific(1);
BUG_ON(clk_event_tmr == NULL);
/*
* program other parameters
* set clock source, program pre-scaler
*/
clockevent_gpt.mult = div_sc(tick_rate, NSEC_PER_SEC,
clockevent_gpt.shift);
clockevent_gpt.max_delta_ns =
clockevent_delta2ns(0xffff, &clockevent_gpt);
clockevent_gpt.min_delta_ns =
clockevent_delta2ns(1, &clockevent_gpt);
clockevent_gpt.cpumask = cpumask_of_cpu(0);
clockevents_register_device(&clockevent_gpt);
spear_timer_irq.dev_id = (void *)clk_event_tmr;
setup_irq(spear_timer_get_irq(clk_event_tmr), &spear_timer_irq);
spear_timer_set_match(clk_event_tmr, 1);
}
Configuration options
As mentioned above, the GPT hardware clock can be obtained from two sources (the
system clock PLL1 and PLL3). The system clock, if selected, goes through a synthesizer
before reaching GPT. This synthesizer can be programmed to obtain the desired operating
frequency for GPT. By default it is divided by 2. For more details, please refer to the SPEAr
user manual.
References
Refer to linux-2.6.27/Documentation/timers/, for new time keeping and tick generation
architecture of Linux.
3.2
Vector interrupt controller (VIC) driver
This section describes the VIC driver.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com