LambdaHeaterDRIVERIMPL.docx
《LambdaHeaterDRIVERIMPL.docx》由会员分享,可在线阅读,更多相关《LambdaHeaterDRIVERIMPL.docx(7页珍藏版)》请在冰豆网上搜索。
LambdaHeaterDRIVERIMPL
CONFIDENTIAL
TJU—IFXAutomotiveElectronicJointLaboratory
StateKeyLaboratoryofEngines
TianJinUniversity,China
GEMS–K1
LambdaHeaterdriverimplementationdocument
Revisionhistory
Version
By
Modifications
V0.1,19thNov.2008
Hoangchao.Zhang
Creation
Summary
Revisionhistory3
Summary4
1Introduction5
1.1Overview5
1.2Reference5
2.Typedefinition6
3GlobalVariable7
4FunctionDefinitions8
4.1IO_IOProcessInit8
4.2IO_LambdaHtr1Enbl8
4.3IO_LambdaHtr1Dsbl9
4.4IO_LambdaHtr2Enbl9
4.5IO_LambdaHtr2Dsbl9
5ResourcesConfiguration11
5.1PeriperalConfig11
5.2InterruptConfig11
6CompileEnvironment11
1Introduction
1.1Overview
ThisdocumentdescribestheimplementationoftheLambdaHeaterdrivertobedevelopedintheframeoftheGEMS-K1project.ItisbasedontheLambdaHeaterspecificationdocument.
TheLambdaHeaterdriverisimplementedbytricoreofTC1766
TheLambdaHeaterdriveroffersastandardizedaccesstoLambdaHeateroutputchannels.ItoffertheAPIinterfaceofLambdaHeateroperation.
TheLambdaHeaterdriverisimplementedwithinIOProcessmoduleincludingIOprocessinitializationfunction,LambdaHeatercontrolfunction.
1.2Reference
[1]LambdaHeater_DRIVER_SPEC.doc
[2]
2.Typedefinition
Type
Description
Range
3GlobalVariable
Varialbes
Type
Description
4FunctionDefinitions
4.1IO_IOProcessInit
Syntax
voidIO_IOProcessInit(void)
Parameters
none
Return
none
Notification
Description
ThisfunctiondefinitionconfiguretheIO_IOProcessmodule
Indetailsthefunctionconfiguresthefollowing:
∙ConfigureIO_IOProcessmodule
∙
∙
Reentrancy
No
Remarks
4.2IO_LambdaHtr1Enbl
Syntax
voidIO_LambdaHtr1Enbl(void)
Parameters
None
Return
None
Notification
Description
Theprocessingroutineturnthelambdaheater1on
Reentrancy
No
Remarks
4.3IO_LambdaHtr1Dsbl
Syntax
voidIO_LambdaHtr1Dsbl(void)
Parameters
None
Return
None
Notification
Description
TheprocessingroutineturntheLambdaheater1off
Reentrancy
No
Remarks
4.4IO_LambdaHtr2Enbl
Syntax
voidIO_LambdaHtr2Enbl(void)
Parameters
None
Return
None
Notification
Description
Theprocessingroutineturnthelambdaheater2on
Reentrancy
No
Remarks
4.5IO_LambdaHtr2Dsbl
Syntax
voidIO_LambdaHtr2Dsbl(void)
Parameters
None
Return
None
Notification
Description
TheprocessingroutineturntheLambdaheater2off
Reentrancy
No
Remarks
5ResourcesConfiguration
5.1PeriperalConfig
Source
Description
P4.0
forlambdaheater1
P4.1
forlambdaheater2
5.2InterruptConfig
Source
SRN
TOS
Priority
Name
Description
6CompileEnvironment
CompileTool:
TaskingVX-ToolsetforTricorev2.2r3