Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: SpleisserProgramm SpleisserProgramm_v2 SpleisserProgramm_v5 SpleisserProgramm_V7 ... more
L6470_AppCMDs_ToBePrepared
[L6470_AppCMDs]
Modules | |
| L6470_Private_Variables | |
L6470 Private Variables. | |
Functions | |
| void | L6470_PrepareSetParam (eL6470_RegId_t L6470_RegId, uint32_t Value) |
| Prepare to send L6470_SetParam command. | |
| void | L6470_PrepareGetParam (eL6470_RegId_t L6470_RegId) |
| Prepare to send L6470_GetParam command. | |
| void | L6470_PrepareRun (eL6470_DirId_t L6470_DirId, uint32_t Speed) |
| Prepare to send L6470_Run command. | |
| void | L6470_PrepareStepClock (eL6470_DirId_t L6470_DirId) |
| Prepare to send L6470_StepClock command. | |
| void | L6470_PrepareMove (eL6470_DirId_t L6470_DirId, uint32_t N_Step) |
| Prepare to send L6470_Move command. | |
| void | L6470_PrepareGoTo (uint32_t AbsPos) |
| Prepare to send L6470_GoTo command. | |
| void | L6470_PrepareGoToDir (eL6470_DirId_t L6470_DirId, uint32_t AbsPos) |
| Prepare to send L6470_GoToDIR command. | |
| void | L6470_PrepareGoUntil (eL6470_ActId_t L6470_ActId, eL6470_DirId_t L6470_DirId, uint32_t Speed) |
| Prepare to send L6470_GoUntil command. | |
| void | L6470_PrepareReleaseSW (eL6470_ActId_t L6470_ActId, eL6470_DirId_t L6470_DirId) |
| Prepare to send L6470_ReleaseSW. | |
| void | L6470_PrepareGoHome (void) |
| Prepare to send L6470_GoHome command. | |
| void | L6470_PrepareGoMark (void) |
| Prepare to send L6470_GoMark command. | |
| void | L6470_PrepareResetPos (void) |
| Prepare to send L6470_ResetPos command. | |
| void | L6470_PrepareResetDevice (void) |
| Prepare to send L6470_ResetDevice command. | |
| void | L6470_PrepareSoftStop (void) |
| Prepare to send L6470_SoftStop command. | |
| void | L6470_PrepareHardStop (void) |
| Prepare to send L6470_HardStop command. | |
| void | L6470_PrepareSoftHiZ (void) |
| Prepare to send L6470_SoftHiZ command. | |
| void | L6470_PrepareHardHiZ (void) |
| Prepare to send L6470_HardHiZ command. | |
| void | L6470_PrepareGetStatus (void) |
| Prepare to send L6470_GetStatus command. | |
| uint8_t * | L6470_PerformPreparedApplicationCommand (void) |
| Send via SPI the command stored inside the L6470_AppCmdPkg to the L6470 daisy chain. | |
| void | L6470_DaisyChainCommand (uint8_t *pL6470_DaisyChainSpiTxStruct, uint8_t *pL6470_DaisyChainSpiRxStruct) |
| Send command to the L6470 daisy chain via SPI. | |
| uint32_t | L6470_ExtractReturnedData (uint8_t *pL6470_DaisyChainSpiRxStruct, uint8_t LengthByte) |
| Extracts the data returned by the L6470 from the matrix that contains the received SPI data. | |
| uint8_t | L6470_CheckStatusRegisterFlag (uint8_t L6470_StatusRegisterFlagId) |
| Check the state of a flag inside the L6470 STATUS register. | |
| uint8_t * | L6470_GetRegisterName (uint8_t id) |
| Return the mnemonic name for the L6470 register. | |
| status_t | L6470_Config (void *init) |
| Configures the L6470 registers. | |
| void | L6470_PrepareSetParam (eL6470_RegId_t L6470_RegId, uint32_t Value) |
| Prepare to send L6470_SetParam command. | |
| void | L6470_PrepareGetParam (eL6470_RegId_t L6470_RegId) |
| Prepare to send L6470_GetParam command. | |
| void | L6470_PrepareRun (eL6470_DirId_t L6470_DirId, uint32_t Speed) |
| Prepare to send L6470_Run command. | |
| void | L6470_PrepareStepClock (eL6470_DirId_t L6470_DirId) |
| Prepare to send L6470_StepClock command. | |
| void | L6470_PrepareMove (eL6470_DirId_t L6470_DirId, uint32_t N_Step) |
| Prepare to send L6470_Move command. | |
| void | L6470_PrepareGoTo (uint32_t AbsPos) |
| Prepare to send L6470_GoTo command. | |
| void | L6470_PrepareGoToDir (eL6470_DirId_t L6470_DirId, uint32_t AbsPos) |
| Prepare to send L6470_GoToDIR command. | |
| void | L6470_PrepareGoUntil (eL6470_ActId_t L6470_ActId, eL6470_DirId_t L6470_DirId, uint32_t Speed) |
| Prepare to send L6470_GoUntil command. | |
| void | L6470_PrepareReleaseSW (eL6470_ActId_t L6470_ActId, eL6470_DirId_t L6470_DirId) |
| Prepare to send L6470_ReleaseSW. | |
| void | L6470_PrepareGoHome (void) |
| Prepare to send L6470_GoHome command. | |
| void | L6470_PrepareGoMark (void) |
| Prepare to send L6470_GoMark command. | |
| void | L6470_PrepareResetPos (void) |
| Prepare to send L6470_ResetPos command. | |
| void | L6470_PrepareResetDevice (void) |
| Prepare to send L6470_ResetDevice command. | |
| void | L6470_PrepareSoftStop (void) |
| Prepare to send L6470_SoftStop command. | |
| void | L6470_PrepareHardStop (void) |
| Prepare to send L6470_HardStop command. | |
| void | L6470_PrepareSoftHiZ (void) |
| Prepare to send L6470_SoftHiZ command. | |
| void | L6470_PrepareHardHiZ (void) |
| Prepare to send L6470_HardHiZ command. | |
| void | L6470_PrepareGetStatus (void) |
| Prepare to send L6470_GetStatus command. | |
| uint8_t * | L6470_PerformPreparedApplicationCommand (void) |
| Send via SPI the command stored inside the L6470_AppCmdPkg to the L6470 daisy chain. | |
| void | L6470_DaisyChainCommand (uint8_t *pL6470_DaisyChainSpiTxStruct, uint8_t *pL6470_DaisyChainSpiRxStruct) |
| Send command to the L6470 daisy chain via SPI. | |
| uint32_t | L6470_ExtractReturnedData (uint8_t *pL6470_DaisyChainSpiRxStruct, uint8_t LengthByte) |
| Extracts the data returned by the L6470 from the matrix that contains the received SPI data. | |
| uint8_t | L6470_CheckStatusRegisterFlag (uint8_t L6470_StatusRegisterFlagId) |
| Check the state of a flag inside the L6470 STATUS register. | |
| uint8_t * | L6470_GetRegisterName (uint8_t id) |
| Return the mnemonic name for the L6470 register. | |
| status_t | L6470_Config (void *init) |
| Configures the L6470 registers. | |
Variables | |
| static const sL6470_Register_t | _L6470_Register [L6470REGIDSIZE] |
| Array whose elements are a structure in which store information about the L6470 Registers (the address, the names, the length in bits, the reset value) | |
| static const sL6470_ApplicationCommand_t | _L6470_ApplicationCommand [L6470APPCMDIDSIZE] |
| Array whose elements are a structure in which store information about the L6470 Application Commands (the mnemonic name, the number of needed parameters, the related funtion to call) | |
| static const sL6470_Direction_t | _L6470_Direction [L6470DIRIDSIZE] |
| The mnemonic names for the L6470 direction. | |
| static const sL6470_ACT_t | _L6470_ACT [L6470ACTIDSIZE] |
| Action taken about ABS_POS register. | |
Function Documentation
| uint8_t L6470_CheckStatusRegisterFlag | ( | uint8_t | L6470_StatusRegisterFlagId ) | [protected, inherited] |
| uint8_t L6470_CheckStatusRegisterFlag | ( | uint8_t | L6470_StatusRegisterFlagId ) | [protected, inherited] |
| status_t L6470_Config | ( | void * | init ) | [protected, inherited] |
| status_t L6470_Config | ( | void * | init ) | [protected, inherited] |
| void L6470_DaisyChainCommand | ( | uint8_t * | pL6470_DaisyChainSpiTxStruct, |
| uint8_t * | pL6470_DaisyChainSpiRxStruct | ||
| ) | [protected, inherited] |
Send command to the L6470 daisy chain via SPI.
- Parameters:
-
pL6470_DaisyChainSpiTxStruct Pointer to the matrix array of bytes to be sent to the daisy chain L6470 pL6470_DaisyChainSpiRxStruct Pointer to the matrix array of bytes to be received from the daisy chain L6470
<Simply deselect time delay for SPI nCS
| void L6470_DaisyChainCommand | ( | uint8_t * | pL6470_DaisyChainSpiTxStruct, |
| uint8_t * | pL6470_DaisyChainSpiRxStruct | ||
| ) | [protected, inherited] |
Send command to the L6470 daisy chain via SPI.
- Parameters:
-
pL6470_DaisyChainSpiTxStruct Pointer to the matrix array of bytes to be sent to the daisy chain L6470 pL6470_DaisyChainSpiRxStruct Pointer to the matrix array of bytes to be received from the daisy chain L6470
<Simply deselect time delay for SPI nCS
| uint32_t L6470_ExtractReturnedData | ( | uint8_t * | pL6470_DaisyChainSpiRxStruct, |
| uint8_t | LengthByte | ||
| ) | [protected, inherited] |
Extracts the data returned by the L6470 from the matrix that contains the received SPI data.
| uint32_t L6470_ExtractReturnedData | ( | uint8_t * | pL6470_DaisyChainSpiRxStruct, |
| uint8_t | LengthByte | ||
| ) | [protected, inherited] |
Extracts the data returned by the L6470 from the matrix that contains the received SPI data.
| uint8_t * L6470_GetRegisterName | ( | uint8_t | id ) | [protected, inherited] |
| uint8_t * L6470_GetRegisterName | ( | uint8_t | id ) | [protected, inherited] |
| uint8_t * L6470_PerformPreparedApplicationCommand | ( | void | ) | [protected, inherited] |
| uint8_t * L6470_PerformPreparedApplicationCommand | ( | void | ) | [protected, inherited] |
| void L6470_PrepareGetParam | ( | eL6470_RegId_t | L6470_RegId ) | [protected, inherited] |
Prepare to send L6470_GetParam command.
- Parameters:
-
L6470_Id The L6470 identifier inside the daisy chain. L6470_RegId The identifier of the L6470 register to be addressed.
- Return values:
-
ReceivedValue The register value.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGetParam | ( | eL6470_RegId_t | L6470_RegId ) | [protected, inherited] |
Prepare to send L6470_GetParam command.
- Parameters:
-
L6470_Id The L6470 identifier inside the daisy chain. L6470_RegId The identifier of the L6470 register to be addressed.
- Return values:
-
ReceivedValue The register value.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGetStatus | ( | void | ) | [protected, inherited] |
Prepare to send L6470_GetStatus command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGetStatus | ( | void | ) | [protected, inherited] |
Prepare to send L6470_GetStatus command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGoHome | ( | void | ) | [protected, inherited] |
Prepare to send L6470_GoHome command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGoHome | ( | void | ) | [protected, inherited] |
Prepare to send L6470_GoHome command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGoMark | ( | void | ) | [protected, inherited] |
Prepare to send L6470_GoMark command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGoMark | ( | void | ) | [protected, inherited] |
Prepare to send L6470_GoMark command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGoTo | ( | uint32_t | AbsPos ) | [protected, inherited] |
Prepare to send L6470_GoTo command.
- Parameters:
-
AbsPos The target absolute position.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGoTo | ( | uint32_t | AbsPos ) | [protected, inherited] |
Prepare to send L6470_GoTo command.
- Parameters:
-
AbsPos The target absolute position.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGoToDir | ( | eL6470_DirId_t | L6470_DirId, |
| uint32_t | AbsPos | ||
| ) | [protected, inherited] |
Prepare to send L6470_GoToDIR command.
- Parameters:
-
L6470_DirId The identifier of the L6470 motion direction. AbsPos The target absolute position.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGoToDir | ( | eL6470_DirId_t | L6470_DirId, |
| uint32_t | AbsPos | ||
| ) | [protected, inherited] |
Prepare to send L6470_GoToDIR command.
- Parameters:
-
L6470_DirId The identifier of the L6470 motion direction. AbsPos The target absolute position.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGoUntil | ( | eL6470_ActId_t | L6470_ActId, |
| eL6470_DirId_t | L6470_DirId, | ||
| uint32_t | Speed | ||
| ) | [protected, inherited] |
Prepare to send L6470_GoUntil command.
- Parameters:
-
L6470_ActId The identifier of the L6470 action about the absolute position. L6470_DirId The identifier of the L6470 motion direction. Speed The speed value as (([step/s] * 250e-9) / 2^-28)
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareGoUntil | ( | eL6470_ActId_t | L6470_ActId, |
| eL6470_DirId_t | L6470_DirId, | ||
| uint32_t | Speed | ||
| ) | [protected, inherited] |
Prepare to send L6470_GoUntil command.
- Parameters:
-
L6470_ActId The identifier of the L6470 action about the absolute position. L6470_DirId The identifier of the L6470 motion direction. Speed The speed value as (([step/s] * 250e-9) / 2^-28)
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareHardHiZ | ( | void | ) | [protected, inherited] |
Prepare to send L6470_HardHiZ command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareHardHiZ | ( | void | ) | [protected, inherited] |
Prepare to send L6470_HardHiZ command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareHardStop | ( | void | ) | [protected, inherited] |
Prepare to send L6470_HardStop command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareHardStop | ( | void | ) | [protected, inherited] |
Prepare to send L6470_HardStop command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareMove | ( | eL6470_DirId_t | L6470_DirId, |
| uint32_t | N_Step | ||
| ) | [protected, inherited] |
Prepare to send L6470_Move command.
- Parameters:
-
L6470_DirId The identifier of the L6470 motion direction. N_Step The number of microsteps.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareMove | ( | eL6470_DirId_t | L6470_DirId, |
| uint32_t | N_Step | ||
| ) | [protected, inherited] |
Prepare to send L6470_Move command.
- Parameters:
-
L6470_DirId The identifier of the L6470 motion direction. N_Step The number of microsteps.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareReleaseSW | ( | eL6470_ActId_t | L6470_ActId, |
| eL6470_DirId_t | L6470_DirId | ||
| ) | [protected, inherited] |
Prepare to send L6470_ReleaseSW.
- Parameters:
-
L6470_ActId The identifier of the L6470 action about the absolute position. L6470_DirId The identifier of the L6470 motion direction.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareReleaseSW | ( | eL6470_ActId_t | L6470_ActId, |
| eL6470_DirId_t | L6470_DirId | ||
| ) | [protected, inherited] |
Prepare to send L6470_ReleaseSW.
- Parameters:
-
L6470_ActId The identifier of the L6470 action about the absolute position. L6470_DirId The identifier of the L6470 motion direction.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareResetDevice | ( | void | ) | [protected, inherited] |
Prepare to send L6470_ResetDevice command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareResetDevice | ( | void | ) | [protected, inherited] |
Prepare to send L6470_ResetDevice command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareResetPos | ( | void | ) | [protected, inherited] |
Prepare to send L6470_ResetPos command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareResetPos | ( | void | ) | [protected, inherited] |
Prepare to send L6470_ResetPos command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareRun | ( | eL6470_DirId_t | L6470_DirId, |
| uint32_t | Speed | ||
| ) | [protected, inherited] |
Prepare to send L6470_Run command.
- Parameters:
-
L6470_DirId The identifier of the L6470 motion direction. Speed The speed value as (([step/s] * 250e-9) / 2^-28)
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareRun | ( | eL6470_DirId_t | L6470_DirId, |
| uint32_t | Speed | ||
| ) | [protected, inherited] |
Prepare to send L6470_Run command.
- Parameters:
-
L6470_DirId The identifier of the L6470 motion direction. Speed The speed value as (([step/s] * 250e-9) / 2^-28)
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareSetParam | ( | eL6470_RegId_t | L6470_RegId, |
| uint32_t | Value | ||
| ) | [protected, inherited] |
Prepare to send L6470_SetParam command.
- Parameters:
-
L6470_RegId The identifier of the L6470 register to be addressed. Value The new value.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareSetParam | ( | eL6470_RegId_t | L6470_RegId, |
| uint32_t | Value | ||
| ) | [protected, inherited] |
Prepare to send L6470_SetParam command.
- Parameters:
-
L6470_RegId The identifier of the L6470 register to be addressed. Value The new value.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareSoftHiZ | ( | void | ) | [protected, inherited] |
Prepare to send L6470_SoftHiZ command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareSoftHiZ | ( | void | ) | [protected, inherited] |
Prepare to send L6470_SoftHiZ command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareSoftStop | ( | void | ) | [protected, inherited] |
Prepare to send L6470_SoftStop command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareSoftStop | ( | void | ) | [protected, inherited] |
Prepare to send L6470_SoftStop command.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareStepClock | ( | eL6470_DirId_t | L6470_DirId ) | [protected, inherited] |
Prepare to send L6470_StepClock command.
- Parameters:
-
L6470_DirId The identifier of the L6470 motion direction.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
| void L6470_PrepareStepClock | ( | eL6470_DirId_t | L6470_DirId ) | [protected, inherited] |
Prepare to send L6470_StepClock command.
- Parameters:
-
L6470_DirId The identifier of the L6470 motion direction.
- Note:
- This function will properly fill the right column of the L6470_AppCmdPkg.
- The commad will be sent by L6470_PerformPreparedApplicationCommand.
Variable Documentation
const sL6470_ACT_t _L6470_ACT [static, protected, inherited] |
const sL6470_ApplicationCommand_t _L6470_ApplicationCommand [static, protected, inherited] |
{
{"NOP", 0x00, 0},
{"SETPARAM", 0x00, 2},
{"GETPARAM", 0x20, 1},
{"RUN", 0x50, 2},
{"STEPCLOCK", 0x58, 1},
{"MOVE", 0x40, 2},
{"GOTO", 0x60, 1},
{"GOTO_DIR", 0x68, 2},
{"GOUNTIL", 0x82, 3},
{"RELEASESW", 0x92, 2},
{"GOHOME", 0x70, 0},
{"GOMARK", 0x78, 0},
{"RESETPOS", 0xD8, 0},
{"RESETDEVICE", 0xC0, 0},
{"SOFTSTOP", 0xB0, 0},
{"HARDSTOP", 0xB8, 0},
{"SOFTHIZ", 0xA0, 0},
{"HARDHIZ", 0xA8, 0},
{"GETSTATUS", 0xD0, 0}
}
Array whose elements are a structure in which store information about the L6470 Application Commands (the mnemonic name, the number of needed parameters, the related funtion to call)
const sL6470_Direction_t _L6470_Direction [static, protected, inherited] |
const sL6470_Register_t _L6470_Register [static, protected, inherited] |
{
{0x01 , "ABS_POS", 22, 3, 0x000000},
{0x02 , "EL_POS", 9, 2, 0x000},
{0x03 , "MARK", 22, 3, 0x000000},
{0x04 , "SPEED", 20, 3, 0x0000},
{0x05 , "ACC", 12, 2, 0x08A},
{0x06 , "DEC", 12, 2, 0x08A},
{0x07 , "MAX_SPEED", 10, 2, 0x041},
{0x08 , "MIN_SPEED", 13, 2, 0x000},
{0x15 , "FS_SPD", 10, 2, 0x027},
{0x09 , "KVAL_HOLD", 8, 1, 0x29},
{0x0A , "KVAL_RUN", 8, 1, 0x29},
{0x0B , "KVAL_ACC", 8, 1, 0x29},
{0x0C , "KVAL_DEC", 8, 1, 0x29},
{0x0D , "INT_SPEED", 14, 2, 0x0408},
{0x0E , "ST_SLP", 8, 1, 0x19},
{0x0F , "FN_SLP_ACC", 8, 1, 0x29},
{0x10 , "FN_SLP_DEC", 8, 1, 0x29},
{0x11 , "K_THERM", 4, 1, 0x0},
{0x12 , "ADC_OUT", 5, 1, 0x00},
{0x13 , "OCD_TH", 4, 1, 0x8},
{0x14 , "STALL_TH", 7, 1, 0x40},
{0x16 , "STEP_MODE", 8, 1, 0x7},
{0x17 , "ALARM_EN", 8, 1, 0xFF},
{0x18 , "CONFIG", 16, 2, 0x2E88},
{0x19 , "STATUS", 16, 2, 0x0000}
}
Array whose elements are a structure in which store information about the L6470 Registers (the address, the names, the length in bits, the reset value)
Generated on Thu Jul 14 2022 04:29:28 by
1.7.2