unihall 2.0.0.0
|
This file contains API for UNI HALL Click driver. More...
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | unihall_t |
Click ctx object definition. More... | |
struct | unihall_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | UNIHALL_MAP_MIKROBUS(cfg, mikrobus) cfg.int_pin= MIKROBUS( mikrobus, MIKROBUS_INT ); |
#define | UNIHALL_RETVAL uint8_t |
#define | UNIHALL_OK 0x00 |
#define | UNIHALL_INIT_ERROR 0xFF |
#define | UNIHALL_RETVAL uint8_t |
#define | UNIHALL_NORTH_POLE_DETECTED 0x00 |
#define | UNIHALL_NORTH_POLE_NOT_DETECTED 0x01 |
Functions | |
void | unihall_cfg_setup (unihall_cfg_t *cfg) |
Config Object Initialization function. | |
UNIHALL_RETVAL | unihall_init (unihall_t *ctx, unihall_cfg_t *cfg) |
Initialization function. | |
uint8_t | unihall_detecting_magnetic_fields (unihall_t *ctx) |
Detecting north pole magnetic fields status function. | |
This file contains API for UNI HALL Click driver.