Library introduction, Introduction, Makefile – Solvline Eddy DKV2.1.0.3 User Manual
Page 81: System functions, Chapter 6, Chapter 6. library introduction, 1 introduction, 2 makefile, 3 system functions
Chapter 6. Library
Introduction
81
Chapter 6. Library Introduction
This chapter introduces useful libraries and API functions that are applicable with Eddy-Serial DK.
6.1 Introduction
All the functions introduced in this chapter are all APIs included in SB_APIs.a of
/src/Eddy_APPs/SB_APIs directory. You also need to mention this library in the Makefile. All sample
source codes accompanied with Eddy-DK use this library, and you can see the source codes and
Makefile for more information.
6.2 Makefile
Library is in /src/Eddy_APPs/SB_APIs/ directory, as a form of SB_API.a.
You need to specify in the Makefile in order to use this library, so please refer to the Makefile inside
/src/Eddy_APPs/ folder.
6.3 System functions
Timer and delay functions needed for making application program.
SB_SetPriority
Function
Specifies priority level of task.
Format
Void SB_SetPriority (int Priority_Level);
Parameter
Priority_level Low (1) ~ High (99)
Returns
None
Notice
Configures the priority level of task execution to the system.
The lowest level is 1, whereas the highest level is 99.
It is recommended to set level below 50; and when a certain task’s level
is set above 50, that task will be executed prior to others, possibly
affecting other tasks’ operation.
SB_GetTick