Lite SBC Library  v1.0.0
TLE94x1_SPI.h
Go to the documentation of this file.
1 /*********************************************************************************************************************
2  * Copyright (c) 2019, Infineon Technologies AG
3  *
4  *
5  * Distributed under the Boost Software License, Version 1.0.
6  *
7  *
8  * Boost Software License - Version 1.0 - August 17th, 2003
9  *
10  * Permission is hereby granted, free of charge, to any person or organization
11  * obtaining a copy of the software and accompanying documentation covered by
12  * this license (the "Software") to use, reproduce, display, distribute,
13  * execute, and transmit the Software, and to prepare derivative works of the
14  * Software, and to permit third-parties to whom the Software is furnished to
15  * do so, all subject to the following:
16  *
17  * The copyright notices in the Software and this entire statement, including
18  * the above license grant, this restriction and the following disclaimer,
19  * must be included in all copies of the Software, in whole or in part, and
20  * all derivative works of the Software, unless such copies or derivative
21  * works are solely in the form of machine-executable object code generated by
22  * a source language processor.
23  *
24  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26  * FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
27  * SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
28  * FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
29  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
30  * DEALINGS IN THE SOFTWARE.
31  *
32  *********************************************************************************************************************/
33 
34 
35 /****************************************************************************************************/
49 #ifndef TLE94x1_SPI_H
50 #define TLE94x1_SPI_H
51 
52 
53 
54 
55 
56 
57 /* ================================================================================ */
58 /* ============================ HEADER FILES ================================ */
59 /* ================================================================================ */
60 
61 #include <stdint.h>
62 
63 
64 
65 /* ================================================================================ */
66 /* ============================= SPI Functions ============================== */
67 /* ================================================================================ */
68 
77 uint8_t SBC_SPI_INIT(void);
78 
93 uint16_t SBC_SPI_TRANSFER16(uint8_t Upper, uint8_t Lower);
94 
95 #endif /* TLE94x1_SPI_H */
uint16_t SBC_SPI_TRANSFER16(uint8_t Upper, uint8_t Lower)
IMPORTANT! THIS METHOD HAS TO BE DEFINED BY THE USER.
Definition: TLE94x1_SPI.c:73
uint8_t SBC_SPI_INIT(void)
IMPORTANT! THIS METHOD HAS TO BE DEFINED BY THE USER.
Definition: TLE94x1_SPI.c:67