|
- #ifndef PLSR_CORE_H
- #define PLSR_CORE_H
-
- #include "plsr_types.h"
- #include <stdint.h>
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- PLSR_RESULT PlsrInit(void);
- void PlsrTask(void *argument);
- void PlsrProcess(void);
-
- PLSR_RESULT PlsrPostStart(const PLSR_START_REQUEST *request);
- PLSR_RESULT PlsrPostCommand(const PLSR_COMMAND *command);
- PLSR_RESULT PlsrPostEvent(uint8_t axis, uint32_t eventMask);
- PLSR_RESULT PlsrGetStatus(uint8_t axis, PLSR_STATUS *status);
-
- PLSR_RESULT PlsrStateTransition(uint8_t axis,
- PLSR_STATE target,
- PLSR_TRANSITION_REASON reason);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif /* PLSR_CORE_H */
|