/*
 * splitflap_positions.h
 *
 *  Created on: 27.10.2022
 *      Author: jonas
 */

#ifndef SPLITFLAP_POSITIONS_H_
#define SPLITFLAP_POSITIONS_H_

#include "splitflap.h"

/* descriptor to identify the type of position */
typedef uint16_t Position_t;

/* return the position of the splitflap
 * \param [out] stepsPosition Pointer to the amount of steps
 * \return Returns ERR_OK if valid, otherwise ERR_FAILED
 */
uint8_t SF_Position_Get(Flap_t letter, Position_t* stepsPosition);

#endif /* SPLITFLAP_POSITIONS_H_ */
