- renamed folder
git-svn-id: http://moon:8086/svn/projects/HendiControl@161 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* mcp42x6.h
|
||||
*
|
||||
* Created: 20.02.2019 20:44:33
|
||||
* Author: jens
|
||||
*/
|
||||
|
||||
|
||||
#ifndef MCP42X6_H_
|
||||
#define MCP42X6_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
||||
enum MCP47x6_flags
|
||||
{
|
||||
C0 = 0x20,
|
||||
C1 = 0x40,
|
||||
C2 = 0x80,
|
||||
PDN0 = 0x10,
|
||||
PDN1 = 0x20,
|
||||
mask = 0xF0
|
||||
};
|
||||
|
||||
size_t MCP47x6_write_volatile_dac(uint16_t dac_value, uint8_t *buffer, size_t size);
|
||||
size_t MCP47x6_write_volatile_mem(uint16_t dac_value, uint8_t *buffer, size_t size);
|
||||
|
||||
#endif /* MCP42X6_H_ */
|
||||
Reference in New Issue
Block a user