shuttle 2.0.0.0
shuttle.h File Reference

This file contains API for Shuttle Click driver. More...

#include "drv_digital_out.h"

Go to the source code of this file.

Data Structures

struct  shuttle_t
 Click ctx object definition. More...
 
struct  shuttle_cfg_t
 Click configuration structure definition. More...
 

Macros

#define SHUTTLE_MAP_MIKROBUS(cfg, mikrobus)
 
#define SHUTTLE_RETVAL   uint8_t
 
#define SHUTTLE_OK   0x00
 
#define SHUTTLE_INIT_ERROR   0xFF
 

Functions

void shuttle_cfg_setup (shuttle_cfg_t *cfg)
 Config Object Initialization function.
 
SHUTTLE_RETVAL shuttle_init (shuttle_t *ctx, shuttle_cfg_t *cfg)
 Initialization function.
 
void shuttle_set_pin_high (digital_out_t *pin)
 Set pin high function.
 
void shuttle_set_pin_low (digital_out_t *pin)
 Set pin low function.
 

Detailed Description

This file contains API for Shuttle Click driver.