数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN910 数据表(PDF) 45 Page - STMicroelectronics

部件名 AN910
功能描述  ST7 AND ST9 PERFORMANCE BENCHMARKING
PDF  51 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN910 数据表(HTML) 45 Page - STMicroelectronics

Back Button AN910 Datasheet HTML 41Page - STMicroelectronics AN910 Datasheet HTML 42Page - STMicroelectronics AN910 Datasheet HTML 43Page - STMicroelectronics AN910 Datasheet HTML 44Page - STMicroelectronics AN910 Datasheet HTML 45Page - STMicroelectronics AN910 Datasheet HTML 46Page - STMicroelectronics AN910 Datasheet HTML 47Page - STMicroelectronics AN910 Datasheet HTML 48Page - STMicroelectronics AN910 Datasheet HTML 49Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 51 page
background image
45/51
ST7 AND ST9 PERFORMANCE BENCHMARKING
8.9 16-BIT VALUE RIGHT SHIFT
8.10 BIT MANIPULATION
8.11 TIMER INTERRUPT
Algorithm
The 16-bit value right shift routine shifts a 16-bit value five places to the right.
Implementation
The operand to be shifted is 40h (hexadecimal value). It is taken into account as a 16-bit integer
and it is the 16-bit value which is shifted.
Features stressed
It is a test measuring the word (16-bit) and bit manipulation capability.
Algorithm
The Bit manipulation benchmark performs the set, the reset, and the test of 3 bits in a 128-bit
array.
Implementation
The memory where some bits will be set, reset, and tested, is initialized with the 'Ah' value
(hexadecimal value). It is composed of 8 words '0AAAAh', which represents a 16-byte memory
area, that is to say a 128-bit array.
The test consists in setting, resetting, and then testing the 10th bit of the array, then the 13th bit
of the array, and then the 123rd bit of the array. Setting a bit is setting it to 1. Resetting a bit is
resetting it to 0. And testing a bit is testing it and setting it to 1 if zero (with the zero flag Z also
set if zero).
Features stressed
This benchmark measures the computational capability and the efficiency in bit
manipulation.
Algorithm
The Timer interrupt benchmark is composed of two routines performing an input capture interrupt
and an input capture/output compare interrupt.
Implementation
The first routine is the body of an interrupt service routine handling a timer input capture.
The second is the body of an interrupt service routine handling a timer input capture or a output
compare; as interrupt vectors can be separate, this routine may be composed of two different
parts.
The routines include:
• the average instruction (that is an instruction lasting the average instruction cycle time)
which is interrupted and the interrupt entry process (they represent the interrupt latency)
• the body of a typical interrupt service routine including the following operations:
- stack two registers or change register bank (if not done by interrupt processing)
- read timer register
- call to a subroutine with input capture register content as input parameter or output
compare register content as output parameter
- return from subroutine
- unstack registers or restore register bank (if not done by interrupt processing)
- return from interrupt
It is true that each MCU has its specific own manner of handling interrupts. Reading the timer
register and using the input capture/output compare as a parameter for a function call has been
judged as a satisfying way to do so. Thus, it has been chosen as routine body.
Features stressed
This benchmark measures the interrupt processing performance.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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