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

X  

OS21 数据表(PDF) 10 Page - STMicroelectronics

部件名 OS21
功能描述  The API defined in the OS21 User manual
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

OS21 数据表(HTML) 10 Page - STMicroelectronics

Back Button OS21 Datasheet HTML 6Page - STMicroelectronics OS21 Datasheet HTML 7Page - STMicroelectronics OS21 Datasheet HTML 8Page - STMicroelectronics OS21 Datasheet HTML 9Page - STMicroelectronics OS21 Datasheet HTML 10Page - STMicroelectronics OS21 Datasheet HTML 11Page - STMicroelectronics OS21 Datasheet HTML 12Page - STMicroelectronics OS21 Datasheet HTML 13Page - STMicroelectronics OS21 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 16 page
background image
Board support packages
OS21, ARM
8/14
8083358
4
Board support packages
4.1
Board support packages overview
OS21 Board Support Packages (BSPs) are supplied for all supported platforms as both pre-
built libraries, and accompanying sources. The generic features of the BSPs can be found in
the OS21 User manual (ADCS 7358306), chapter 16.
This section describes the platform-specific features of the BSP. For the ARM, this consists
of the interrupt system description.
4.2
BSP interrupt system description
The BSP is responsible for describing the interrupt system to OS21. This coupled with the
platform specific interrupt code implements OS21's generic interrupt API. On ARM
platforms, this comprises the following elements:
interrupt names
interrupt table
interrupt controller base address
interrupt controller slave priority
interrupt system initialization flags and settings
4.2.1
Interrupt names
A type is provided by OS21 called interrupt_name_t. Each interrupt is assigned a
unique name (interrupt_name_t) which allows it to be identified both in the BSP
interrupt tables that follow, and in the interrupt API. The BSP need only contain those
interrupts that are used by other OS21 or the application code.
If any interrupts are missing then a linker error occurs. If interrupts are declared in the BSP
but are subsequently not used, then this does no harm other than use memory. For
example:
/* Define a DMA interrupt in the BSP */
interrupt_name_t OS21_INTERRUPT_DMA_0 = 21;
Header files are provided with OS21 which complement the interrupt description in the BSP.
By including the appropriate header file, all the relevant external interrupt_name_t
declarations are obtained. User code is also free to declare only those interrupt names that
it requires. For example:
/* How to access the DMA interrupt in user code */
extern interrupt_name_t OS21_INTERRUPT_DMA_0;
The interrupt_handle() function takes an interrupt_name_t parameter and
returns a handle to the given interrupt.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


数据表 下载

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