Data Structures | Typedefs | Functions
SPEED_CALC

Data Structures

struct  _SPDCALC_obj_
 

Typedefs

typedef struct _SPDCALC_obj_ SPDCALC_Obj
 
typedef struct _SPDCALC_obj_SPDCALC_Handle
 Defines the ESMO handle. More...
 

Functions

SPDCALC_Handle SPDCALC_init (void *pMemory, const size_t numBytes)
 Set the SPDCALC controller. More...
 
void SPDCALC_reset (SPDCALC_Handle handle)
 Set the SPDCALC controller. More...
 
void SPDCALC_setParams (SPDCALC_Handle handle, const USER_Params *pUserParams)
 Set the SPDCALC controller. More...
 
static float32_t SPDCALC_getSpeedHz (SPDCALC_Handle handle)
 Set the SPDCALC controller. More...
 
static void SPDCALC_run (SPDCALC_Handle handle, float32_t theta)
 Set the SPDCALC controller. More...
 

Detailed Description

Typedef Documentation

◆ SPDCALC_Obj

typedef struct _SPDCALC_obj_ SPDCALC_Obj

◆ SPDCALC_Handle

typedef struct _SPDCALC_obj_* SPDCALC_Handle

Defines the ESMO handle.

Function Documentation

◆ SPDCALC_init()

SPDCALC_Handle SPDCALC_init ( void *  pMemory,
const size_t  numBytes 
)

Set the SPDCALC controller.

Parameters
[in]handleThe SPDCALC controller handle

◆ SPDCALC_reset()

void SPDCALC_reset ( SPDCALC_Handle  handle)

Set the SPDCALC controller.

Parameters
[in]handleThe ESMO controller handle

◆ SPDCALC_setParams()

void SPDCALC_setParams ( SPDCALC_Handle  handle,
const USER_Params pUserParams 
)

Set the SPDCALC controller.

Parameters
[in]handleThe SPDCALC controller handle

◆ SPDCALC_getSpeedHz()

static float32_t SPDCALC_getSpeedHz ( SPDCALC_Handle  handle)
inlinestatic

Set the SPDCALC controller.

Parameters
[in]handleThe SPDCALC controller handle

References _SPDCALC_obj_::speed_Hz.

◆ SPDCALC_run()

static void SPDCALC_run ( SPDCALC_Handle  handle,
float32_t  theta 
)
inlinestatic

Copyright 2023, Texas Instruments Incorporated