| 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
UART_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 : UART_CH1.c
4 ** CDE edition : Standard
5 ** Project : ISF_K64F_CW_PROJ
6 ** Processor : MK64FN1M0VLL12
7 ** Component : ISF_CommChannel_UART
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 UART_CH1.c
23 ** @version 01.00
24 ** @brief
25 **
26 */
27 /*!
28 ** @addtogroup UART_CH1_module UART_CH1 module documentation
29 ** @{
30 */
31
32 /* MODULE UART_CH1. */
33
34 #include "UART_CH1.h"
35 #include "mqxlite.h"
36 #include "lwevent.h"
37 #include "Fsl_uart_driver.h"
38
39 /*
40 ** ===================================================================
41 ** Method : UART_CH1_OnBlockSent (component ISF_CommChannel_UART)
42 **
43 ** Description :
44 ** This method is internal. It is used by Processor Expert only.
45 ** ===================================================================
46 */
47 void Serial_ISF_UART1_OnBlockSent(LDD_TUserData *UserDataPtr)
48 {
49 /* Write your code here ... */
50 uart_state_t* uart = UserDataPtr;
51 _lwevent_set(&uart->uartEventHandler, UART_PEX_WRITE_EVENT_SUCCESS);
52 }
53
54 /*
55 ** ===================================================================
56 ** Method : UART_CH1_OnBlockReceived (component ISF_CommChannel_UART)
57 **
58 ** Description :
59 ** This method is internal. It is used by Processor Expert only.
60 ** ===================================================================
61 */
62 void Serial_ISF_UART1_OnBlockReceived(LDD_TUserData *UserDataPtr)
63 {
64 /* Write your code here ... */
65 /* Calling inherited event */
66 uart_state_t* uart = UserDataPtr;
67 _lwevent_set(&uart->uartEventHandler, UART_PEX_READ_EVENT_SUCCESS);
68 }
69
70 /* END UART_CH1. */
71
72 /*!
73 ** @}
74 */
75 /*
76 ** ###################################################################
77 **
78 ** This file was created by Processor Expert 10.3 [05.09]
79 ** for the Freescale Kinetis series of microcontrollers.
80 **
81 ** ###################################################################
82 */
83
fsl_uart_driver.h
fsl_uart_driver.h defines structures and types for the i2c master driver.
UART_PEX_READ_EVENT_SUCCESS
#define UART_PEX_READ_EVENT_SUCCESS
Definition: fsl_uart_driver.h:48
UART_PEX_WRITE_EVENT_SUCCESS
#define UART_PEX_WRITE_EVENT_SUCCESS
Definition: fsl_uart_driver.h:46
UartState
Runtime state of the UART driver.
Definition: fsl_uart_driver.h:40
Serial_ISF_UART1_OnBlockSent
void Serial_ISF_UART1_OnBlockSent(LDD_TUserData *UserDataPtr)
Definition: UART_CH1.c:47
UartState::uartEventHandler
LWEVENT_STRUCT uartEventHandler
Definition: fsl_uart_driver.h:43
UART_CH1.h
Serial_ISF_UART1_OnBlockReceived
void Serial_ISF_UART1_OnBlockReceived(LDD_TUserData *UserDataPtr)
Definition: UART_CH1.c:62
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.