![]() |
LibDriver MCP3421
|
mcp3421 example driver modules More...
Macros | |
| #define | MCP3421_BASIC_DEFAULT_BIT MCP3421_BIT_18 |
| mcp3421 basic example default definition | |
| #define | MCP3421_BASIC_DEFAULT_PGA MCP3421_PGA_1 |
| #define | MCP3421_SHOT_DEFAULT_BIT MCP3421_BIT_18 |
| mcp3421 shot example default definition | |
| #define | MCP3421_SHOT_DEFAULT_PGA MCP3421_PGA_1 |
Functions | |
| uint8_t | mcp3421_basic_init (void) |
| basic example init | |
| uint8_t | mcp3421_basic_deinit (void) |
| basic example deinit | |
| uint8_t | mcp3421_basic_read (double *s) |
| basic example read | |
| uint8_t | mcp3421_shot_init (void) |
| shot example init | |
| uint8_t | mcp3421_shot_deinit (void) |
| shot example deinit | |
| uint8_t | mcp3421_shot_read (double *s) |
| shot example read | |
mcp3421 example driver modules
| #define MCP3421_BASIC_DEFAULT_BIT MCP3421_BIT_18 |
mcp3421 basic example default definition
18 bits
Definition at line 56 of file driver_mcp3421_basic.h.
| #define MCP3421_BASIC_DEFAULT_PGA MCP3421_PGA_1 |
pga1
Definition at line 57 of file driver_mcp3421_basic.h.
| #define MCP3421_SHOT_DEFAULT_BIT MCP3421_BIT_18 |
mcp3421 shot example default definition
18 bits
Definition at line 54 of file driver_mcp3421_shot.h.
| #define MCP3421_SHOT_DEFAULT_PGA MCP3421_PGA_1 |
pga1
Definition at line 55 of file driver_mcp3421_shot.h.
| uint8_t mcp3421_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 131 of file driver_mcp3421_basic.c.
| uint8_t mcp3421_basic_init | ( | void | ) |
basic example init
Definition at line 48 of file driver_mcp3421_basic.c.
| uint8_t mcp3421_basic_read | ( | double * | s | ) |
basic example read
| [out] | *s | pointer to a converted adc buffer |
Definition at line 111 of file driver_mcp3421_basic.c.
| uint8_t mcp3421_shot_deinit | ( | void | ) |
shot example deinit
Definition at line 121 of file driver_mcp3421_shot.c.
| uint8_t mcp3421_shot_init | ( | void | ) |
shot example init
Definition at line 48 of file driver_mcp3421_shot.c.
| uint8_t mcp3421_shot_read | ( | double * | s | ) |
shot example read
| [out] | *s | pointer to a converted adc buffer |
Definition at line 101 of file driver_mcp3421_shot.c.