Electronic Components Datasheet Search
  English  ▼

X  

UM0851 Datasheet(PDF) 235 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) 235 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 231Page - STMicroelectronics UM0851 Datasheet HTML 232Page - STMicroelectronics UM0851 Datasheet HTML 233Page - STMicroelectronics UM0851 Datasheet HTML 234Page - STMicroelectronics UM0851 Datasheet HTML 235Page - STMicroelectronics UM0851 Datasheet HTML 236Page - STMicroelectronics UM0851 Datasheet HTML 237Page - STMicroelectronics UM0851 Datasheet HTML 238Page - STMicroelectronics UM0851 Datasheet HTML 239Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 235 / 245 page
background image
UM0851
Power management section
Doc ID 16604 Rev 2
235/245
Ethernet and USB are asynchronous to data transfers, so once the network has been
initialized or the USB enumeration is complete, the clocks of the respective modules should
be on, for the modules to function properly.
The clock framework is mainly used by the drivers in the kernel space. This is done to allow
the drivers to fetch the clock from the clock dependency tree through the set of kernel
interfaces such as clk_get, clk_put, clk_enable etc. To illustrate this, a sample from the I2C
driver is given below:
1) During the initialization probe time, the calls are made to the clock framework to
get the clock. The return value is a handler to manage the clocks related
functionality in future.
dev->iclk = clk_get(dev->dev, "i2c_ick");
dev->fclk = clk_get(dev->dev, "i2c_fck");
2) /* Prior to the data transfers enable the clock, do the transfers and then disable
the clock.*/
clk_enable(dev->iclk);
clk_enable(dev->fclk);
..
..
/*DO DATA TRANSFERS*/
..
..
clk_disable(dev->fclk);
clk_disable(dev->iclk);
Some other kernel interfaces such as clk_get_rate() have been defined to get the clock rate,
and clk_set_rate() to set the clock rate.
10.4.3
Usage: CPUfreq user interface
The user interface to CPUfreq is through sysfs. CPUfreq provides the flexibility to manage
CPUs at a per-processor level (as long as hardware agrees to manage CPUs at that level).
The interface for each CPU will be under sysfs, typically at /sys/devices/system/cpu/
cpuX/cpufreq, where X ranges from 0 through N-1, with N being total number of logical
CPUs in the system.
The basic interfaces provided by CPUfreq are:
$: cd /sys/devices/system/cpu/cpu0/cpufreq
$: ls -la
affected_cpus
cpuinfo_cur_freq
: Current CPU freq
cpuinfo_max_freq
: Max CPU Freq
cpuinfo_min_freq
: Min CPU freq
scaling_available_frequencies
: All available CPU freq
scaling_available_governors
: lists out all the governors supported by the
kernel.
scaling_cur_freq
: cached value of current frequency from cpufreq
subsystem.
scaling_driver
: CPU Freq driver used to change the freq
scaling_governor
: User assigned governor
scaling_max_freq
: User Controlled Upper Limit
scaling_min_freq
: User Controlled Lower Limit
To show the available governors you can use



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