NHS31xx SW API
ucode_i2c.h
1 /*
2  * Copyright 2017-2018 NXP
3  * This software is owned or controlled by NXP and may only be used strictly
4  * in accordance with the applicable license terms. By expressly accepting
5  * such terms or by downloading, installing, activating and/or otherwise using
6  * the software, you are agreeing that you have read, and that you agree to
7  * comply with and are bound by, such license terms. If you do not agree to
8  * be bound by the applicable license terms, then you may not retain, install,
9  * activate or otherwise use the software.
10  */
11 
12 #ifndef __UCODE_I2C_H_
13 #define __UCODE_I2C_H_
14 
15 #include <stdint.h>
16 #include <stdbool.h>
17 
19 void Ucode_I2cInit(void);
20 
24 void Ucode_I2cDeInit(void);
25 
33 bool Ucode_I2cRead(uint16_t address, uint16_t * pWord);
34 
42 bool Ucode_I2cWrite(uint16_t address, uint16_t word);
43 
44 #endif