Functions
stepper.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void stepper_advance (void)
void stepper_cal (void)
int8_t stepper_get_direction (void)
uint8_t stepper_get_latency ()
int16_t stepper_get_rem_steps ()
void stepper_init (void)
int16_t stepper_read (void)
void stepper_set (const int16_t)
void stepper_set_direction (int8_t)
void stepper_set_latency (const uint8_t)
void stepper_set_rem_steps (const int16_t)

Detailed Description

Header for stepper setup.

Version:
1.0
Author:
Julio Sagardoy

Definition in file stepper.h.


Function Documentation

void stepper_advance ( void  )

Generate step

Definition at line 88 of file stepper.c.

void stepper_cal ( void  )

Calibration routine. Must be called for a correct operation of counter registers

Definition at line 103 of file stepper.c.

int8_t stepper_get_direction ( void  )

Get current direction status

Definition at line 46 of file stepper.c.

uint8_t stepper_get_latency ( )

Definition at line 81 of file stepper.c.

int16_t stepper_get_rem_steps ( )

Definition at line 73 of file stepper.c.

void stepper_init ( void  )

Inits stepper.

Definition at line 139 of file stepper.c.

int16_t stepper_read ( void  )

Retrieve current step counter number

Definition at line 56 of file stepper.c.

void stepper_set ( const int16_t  target_pos)

Command stepper to go to desired step position

Definition at line 63 of file stepper.c.

void stepper_set_direction ( int8_t  dir)

Change stepper ic controller direction. 1 is CW, 0 is CCW seen from top

Definition at line 36 of file stepper.c.

void stepper_set_latency ( const uint8_t  )

Definition at line 77 of file stepper.c.

void stepper_set_rem_steps ( const int16_t  )

Definition at line 69 of file stepper.c.



cob_3d_mapping_demonstrator
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:03:46