embeddedlibrary
reusable software modules for embedded systems
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
hal_i2c.h
1
/*
2
* File: hal_i2c.h
3
* Author: Anthony Merlino
4
*
5
* Created on February 26, 2015, 1:31 PM
6
*/
7
8
#ifndef _HAL_I2C_H_
9
#define _HAL_I2C_H_
10
11
#include <stdint.h>
12
13
#define I2C_B0 0
14
#define I2C_B1 1
15
16
typedef
struct
i2c_settings_t
{
17
uint8_t channel;
18
uint32_t bit_rate;
19
uint8_t address_length : 1;
20
}
i2c_settings_t
;
21
22
#endif //_HAL_I2C_H_
i2c_settings_t
Definition:
hal_i2c.h:16
hal
MSP430
MSP430F5529
hal_i2c.h
Generated on Wed Apr 29 2015 21:53:52 for embeddedlibrary by
1.8.9.1