| ISF 2.1 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
I2C_CH1.c
Go to the documentation of this file.
1 /* ###################################################################
2 ** THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
3 ** Filename : I2C_CH1.c
4 ** CDE edition : Standard
5 ** Project : ISF_K64F_CW_PROJ
6 ** Processor : MK64FN1M0VLL12
7 ** Component : ISF_CommChannel_I2C
8 ** Version : Component 01.000, Driver 01.00, CPU db: 3.00.000
9 ** Compiler : GNU C Compiler
10 ** Date/Time : 2015-03-03, 11:01, # CodeGen: 0
11 ** Abstract :
12 **
13 ** Settings :
14 ** Contents :
15 ** No public methods
16 **
17 ** (c) Copyright <company/user-name>, 2014
18 http://www.<company>.com
19 mail: info@<company>.com
20 ** ###################################################################*/
21 /*!
22 ** @file I2C_CH1.c
23 ** @version 01.00
24 ** @brief
25 **
26 */
27 /*!
28 ** @addtogroup I2C_CH1_module I2C_CH1 module documentation
29 ** @{
30 */
31
32 /* MODULE I2C_CH1. */
33
34 #include "I2C_CH1.h"
35
36 #include "mqxlite.h"
37 #include "lwevent.h"
38 #include "Fsl_i2c_master_driver.h"
39 #include "Fsl_i2c_master_driver.h"
40 #include "isf_i2c_master_adapter.h"
41 #include "isf_fsl_i2c_PEx.h"
42 #include "I2C_CH1.h"
43
44
45
46
47 /*
48 ** ===================================================================
49 ** Method : I2C_CH1_OnMasterBlockReceived (component ISF_CommChannel_I2C)
50 **
51 ** Description :
52 ** This method is internal. It is used by Processor Expert only.
53 ** ===================================================================
54 */
55 void I2CBUS1_OnMasterBlockReceived(LDD_TUserData *UserDataPtr)
56 {
57 i2c_master_t * master = UserDataPtr;
58 _lwevent_set(&master->i2cEventHandler, I2C_PEX_READ_EVENT_SUCCESS);
59 }
60
61 /*
62 ** ===================================================================
63 ** Method : I2C_CH1_OnMasterBlockSent (component ISF_CommChannel_I2C)
64 **
65 ** Description :
66 ** This method is internal. It is used by Processor Expert only.
67 ** ===================================================================
68 */
69 void I2CBUS1_OnMasterBlockSent(LDD_TUserData *UserDataPtr)
70 {
71 i2c_master_t * master = UserDataPtr;
72 _lwevent_set(&master->i2cEventHandler, I2C_PEX_WRITE_EVENT_SUCCESS);
73 }
74
75
76 /* END I2C_CH1. */
77
78 /*!
79 ** @}
80 */
81 /*
82 ** ###################################################################
83 **
84 ** This file was created by Processor Expert 10.3 [05.09]
85 ** for the Freescale Kinetis series of microcontrollers.
86 **
87 ** ###################################################################
88 */
fsl_i2c_master_driver.h
fsl_i2c_master_driver.h defines structures and types for the i2c master driver.
I2CMasterState::i2cEventHandler
LWEVENT_STRUCT i2cEventHandler
Definition: fsl_i2c_master_driver.h:72
I2C_PEX_WRITE_EVENT_SUCCESS
#define I2C_PEX_WRITE_EVENT_SUCCESS
Definition: fsl_i2c_master_driver.h:75
I2CBUS1_OnMasterBlockSent
void I2CBUS1_OnMasterBlockSent(LDD_TUserData *UserDataPtr)
Definition: I2C_CH1.c:69
I2CBUS1_OnMasterBlockReceived
void I2CBUS1_OnMasterBlockReceived(LDD_TUserData *UserDataPtr)
Definition: I2C_CH1.c:55
I2C_CH1.h
isf_i2c_master_adapter.h
isf_i2c_master_adapter.h defines the API definitions and types for the i2c master protocol adapter...
I2CMasterState
Internal driver state information.
Definition: fsl_i2c_master_driver.h:66
I2C_PEX_READ_EVENT_SUCCESS
#define I2C_PEX_READ_EVENT_SUCCESS
Definition: fsl_i2c_master_driver.h:77
isf_fsl_i2c_PEx.h
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.