alphanumg 2.0.0.0
alphanumg.h File Reference

This file contains API for AlphaNum G Click Driver. More...

#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"

Go to the source code of this file.

Data Structures

struct  alphanumg_t
 AlphaNum G Click context object. More...
 
struct  alphanumg_cfg_t
 AlphaNum G Click configuration object. More...
 

Macros

#define ALPHANUMG_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping.
 

Enumerations

enum  alphanumg_return_value_t { ALPHANUMG_OK = 0 , ALPHANUMG_ERROR = -1 }
 AlphaNum G Click return value data. More...
 

Functions

void alphanumg_cfg_setup (alphanumg_cfg_t *cfg)
 AlphaNum G configuration object setup function.
 
err_t alphanumg_init (alphanumg_t *ctx, alphanumg_cfg_t *cfg)
 AlphaNum G initialization function.
 
void alphanumg_set_display_interval (alphanumg_t *ctx, uint16_t delay_char_display)
 Delay character display function.
 
void alphanumg_display_write (alphanumg_t *ctx, uint16_t left_char, uint16_t right_char)
 Display write function.
 
void alphanumg_write_character (alphanumg_t *ctx, uint8_t left_char, uint8_t right_char)
 Character write function.
 
void alphanumg_write_number (alphanumg_t *ctx, uint8_t left_char, uint8_t right_char)
 Number write function.
 
void alphanumg_set_rst_high (alphanumg_t *ctx)
 Reset set high function.
 
void alphanumg_set_rst_low (alphanumg_t *ctx)
 Reset set low function.
 
void alphanumg_set_pwm_high (alphanumg_t *ctx)
 PWM set high function.
 
void alphanumg_set_pwm_low (alphanumg_t *ctx)
 PWM set low function.
 
void alphanumg_set_int_high (alphanumg_t *ctx)
 Interrupt set high function.
 
void alphanumg_set_int_low (alphanumg_t *ctx)
 Interrupt set low function.
 

Detailed Description

This file contains API for AlphaNum G Click Driver.

Enumeration Type Documentation

◆ alphanumg_return_value_t

AlphaNum G Click return value data.

Predefined enum values for driver return values.

Enumerator
ALPHANUMG_OK 
ALPHANUMG_ERROR