ledringr 2.0.0.0
|
This file contains API for Led ring R 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 | ledringr_t |
Click ctx object definition. More... | |
struct | ledringr_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | LEDRINGR_MAP_MIKROBUS(cfg, mikrobus) |
#define | LEDRINGR_RETVAL uint8_t |
#define | LEDRINGR_OK 0x00 |
#define | LEDRINGR_INIT_ERROR 0xFF |
Functions | |
void | ledringr_cfg_setup (ledringr_cfg_t *cfg) |
Config Object Initialization function. | |
LEDRINGR_RETVAL | ledringr_init (ledringr_t *ctx, ledringr_cfg_t *cfg) |
Initialization function. | |
void | ledringr_transfer_data (ledringr_t *ctx, uint8_t *write_buf, uint16_t wbuf_size, uint8_t *read_buf, uint16_t rbuf_size) |
Transfer data function. | |
void | ledringr_write_data (ledringr_t *ctx, uint32_t data_to_write) |
Generic write function. | |
void | ledringr_turn_on_led (ledringr_t *ctx, uint8_t led_position) |
Turn On LED by position. | |
void | ledringr_led_ring_set (ledringr_t *ctx) |
Set led. | |
void | ledringr_led_ring_reset (ledringr_t *ctx) |
Set led. | |
This file contains API for Led ring R Click driver.