brushless6 2.0.0.0
Public function

Functions

void brushless6_cfg_setup (brushless6_cfg_t *cfg)
 Config Object Initialization function.
 
BRUSHLESS6_RETVAL brushless6_init (brushless6_t *ctx, brushless6_cfg_t *cfg)
 Initialization function.
 
void brushless6_set_duty_cycle (brushless6_t *ctx, float duty_cycle)
 Generic sets PWM duty cycle.
 
void brushless6_pwm_stop (brushless6_t *ctx)
 Stop PWM module.
 
void brushless6_pwm_start (brushless6_t *ctx)
 Start PWM module.
 

Detailed Description

Function Documentation

◆ brushless6_cfg_setup()

void brushless6_cfg_setup ( brushless6_cfg_t * cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

@description This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ brushless6_init()

BRUSHLESS6_RETVAL brushless6_init ( brushless6_t * ctx,
brushless6_cfg_t * cfg )

Initialization function.

Parameters
brushless6Click object.
cfgClick configuration structure.

@description This function initializes all necessary pins and peripherals used for this click.

◆ brushless6_pwm_start()

void brushless6_pwm_start ( brushless6_t * ctx)

Start PWM module.

Parameters
ctxClick object.

@description This function starts PWM module.

◆ brushless6_pwm_stop()

void brushless6_pwm_stop ( brushless6_t * ctx)

Stop PWM module.

Parameters
ctxClick object.

@description This function stops PWM module.

◆ brushless6_set_duty_cycle()

void brushless6_set_duty_cycle ( brushless6_t * ctx,
float duty_cycle )

Generic sets PWM duty cycle.

Parameters
ctxClick object.
duty_cycleDuty cycle.

@description This function sets the PWM duty cycle.