clockgen5
2.0.0.0
|
This file contains API for Clock Gen 5 Click Driver. More...
#include "mikrosdk_version.h"
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | clockgen5_t |
Clock Gen 5 Click context object. More... | |
struct | clockgen5_cfg_t |
Clock Gen 5 Click configuration object. More... | |
Enumerations | |
enum | clockgen5_return_value_t { CLOCKGEN5_OK = 0, CLOCKGEN5_ERROR = -1 } |
Clock Gen 5 Click return value data. More... | |
Functions | |
void | clockgen5_cfg_setup (clockgen5_cfg_t *cfg) |
Clock Gen 5 configuration object setup function. More... | |
err_t | clockgen5_init (clockgen5_t *ctx, clockgen5_cfg_t *cfg) |
Clock Gen 5 initialization function. More... | |
void | clockgen5_out_enable (clockgen5_t *ctx, uint8_t en_out) |
Enable output function. More... | |
void | clockgen5_set_config (clockgen5_t *ctx, uint8_t cfg) |
Set configuration function. More... | |
void | clockgen5_set_freq (clockgen5_t *ctx, float freq) |
Set frequency function. More... | |
This file contains API for Clock Gen 5 Click Driver.