TMC7300
Loading...
Searching...
No Matches
Functions
TMC7300_Map.h File Reference

Go to the source code of this file.

Functions

TMCField TMC7300_PWM_DIRECT (_TMC7300_GCONF, _TMC7300_PWM_DIRECT_MASK, _TMC7300_PWM_DIRECT_SHIFT, _TMC7300_GCONF_VALUE_ADDR)
 
TMCField TMC7300_EXTCAP (_TMC7300_GCONF, _TMC7300_EXTCAP_MASK, _TMC7300_EXTCAP_SHIFT, _TMC7300_GCONF_VALUE_ADDR)
 
TMCField TMC7300_PAR_MODE (_TMC7300_GCONF, _TMC7300_PAR_MODE_MASK, _TMC7300_PAR_MODE_SHIFT, _TMC7300_GCONF_VALUE_ADDR)
 
TMCField TMC7300_TEST_MODE (_TMC7300_GCONF, _TMC7300_TEST_MODE_MASK, _TMC7300_TEST_MODE_SHIFT, _TMC7300_GCONF_VALUE_ADDR)
 
TMCField TMC7300_RESET (_TMC7300_GSTAT, _TMC7300_RESET_MASK, _TMC7300_RESET_SHIFT, _TMC7300_GSTAT_VALUE_ADDR)
 
TMCField TMC7300_DRV_ERR (_TMC7300_GSTAT, _TMC7300_DRV_ERR_MASK, _TMC7300_DRV_ERR_SHIFT, _TMC7300_GSTAT_VALUE_ADDR)
 
TMCField TMC7300_U3V5 (_TMC7300_GSTAT, _TMC7300_U3V5_MASK, _TMC7300_U3V5_SHIFT, _TMC7300_GSTAT_VALUE_ADDR)
 
TMCField TMC7300_IFCNT (_TMC7300_IFCNT, _TMC7300_IFCNT_MASK, _TMC7300_IFCNT_SHIFT, _TMC7300_IFCNT_VALUE_ADDR)
 
TMCField TMC7300_SLAVECONF (_TMC7300_SLAVECONF, _TMC7300_SLAVECONF_MASK, _TMC7300_SLAVECONF_SHIFT, _TMC7300_SLAVECONF_VALUE_ADDR)
 
TMCField TMC7300_EN (_TMC7300_IOIN, _TMC7300_EN_MASK, _TMC7300_EN_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_NSTDBY (_TMC7300_IOIN, _TMC7300_NSTDBY_MASK, _TMC7300_NSTDBY_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_AD0 (_TMC7300_IOIN, _TMC7300_AD0_MASK, _TMC7300_AD0_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_AD1 (_TMC7300_IOIN, _TMC7300_AD1_MASK, _TMC7300_AD1_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_DIAG (_TMC7300_IOIN, _TMC7300_DIAG_MASK, _TMC7300_DIAG_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_UART_ENABLED (_TMC7300_IOIN, _TMC7300_UART_ENABLED_MASK, _TMC7300_UART_ENABLED_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_UART_INPUT (_TMC7300_IOIN, _TMC7300_UART_INPUT_MASK, _TMC7300_UART_INPUT_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_MODE_INPUT (_TMC7300_IOIN, _TMC7300_MODE_INPUT_MASK, _TMC7300_MODE_INPUT_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_A2 (_TMC7300_IOIN, _TMC7300_A2_MASK, _TMC7300_A2_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_A1 (_TMC7300_IOIN, _TMC7300_A1_MASK, _TMC7300_A1_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_COMP_A1A2 (_TMC7300_IOIN, _TMC7300_COMP_A1A2_MASK, _TMC7300_COMP_A1A2_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_COMP_B1B2 (_TMC7300_IOIN, _TMC7300_COMP_B1B2_MASK, _TMC7300_COMP_B1B2_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_VERSION (_TMC7300_IOIN, _TMC7300_VERSION_MASK, _TMC7300_VERSION_SHIFT, _TMC7300_IOIN_VALUE_ADDR)
 
TMCField TMC7300_MOTORRUN (_TMC7300_CURRENT_LIMIT, _TMC7300_MOTORRUN_MASK, _TMC7300_MOTORRUN_SHIFT, _TMC7300_CURRENT_LIMIT_VALUE_ADDR)
 
TMCField TMC7300_IRUN (_TMC7300_CURRENT_LIMIT, _TMC7300_IRUN_MASK, _TMC7300_IRUN_SHIFT, _TMC7300_CURRENT_LIMIT_VALUE_ADDR)
 
TMCField TMC7300_PWM_A (_TMC7300_PWM_AB, _TMC7300_PWM_A_MASK, _TMC7300_PWM_A_SHIFT, _TMC7300_PWM_AB_VALUE_ADDR)
 
TMCField TMC7300_PWM_B (_TMC7300_PWM_AB, _TMC7300_PWM_B_MASK, _TMC7300_PWM_B_SHIFT, _TMC7300_PWM_AB_VALUE_ADDR)
 
TMCField TMC7300_DISS2VS (_TMC7300_CHOPCONF, _TMC7300_DISS2VS_MASK, _TMC7300_DISS2VS_SHIFT, _TMC7300_CHOPCONF_VALUE_ADDR)
 
TMCField TMC7300_DISS2G (_TMC7300_CHOPCONF, _TMC7300_DISS2G_MASK, _TMC7300_DISS2G_SHIFT, _TMC7300_CHOPCONF_VALUE_ADDR)
 
TMCField TMC7300_TBL (_TMC7300_CHOPCONF, _TMC7300_TBL_MASK, _TMC7300_TBL_SHIFT, _TMC7300_CHOPCONF_VALUE_ADDR)
 
TMCField TMC7300_ENABLEDRV (_TMC7300_CHOPCONF, _TMC7300_ENABLEDRV_MASK, _TMC7300_ENABLEDRV_SHIFT, _TMC7300_CHOPCONF_VALUE_ADDR)
 
TMCField TMC7300_FREEWHEEL (_TMC7300_PWMCONF, _TMC7300_FREEWHEEL_MASK, _TMC7300_FREEWHEEL_SHIFT, _TMC7300_PWMCONF_VALUE_ADDR)
 
TMCField TMC7300_PWM_FREQ (_TMC7300_PWMCONF, _TMC7300_PWM_FREQ_MASK, _TMC7300_PWM_FREQ_SHIFT, _TMC7300_PWMCONF_VALUE_ADDR)
 
TMCField TMC7300_T150 (_TMC7300_DRVSTATUS, _TMC7300_T150_MASK, _TMC7300_T150_SHIFT, _TMC7300_DRVSTATUS_VALUE_ADDR)
 
TMCField TMC7300_T120 (_TMC7300_DRVSTATUS, _TMC7300_T120_MASK, _TMC7300_T120_SHIFT, _TMC7300_DRVSTATUS_VALUE_ADDR)
 
TMCField TMC7300_LIB (_TMC7300_DRVSTATUS, _TMC7300_OLB_MASK, _TMC7300_OLB_SHIFT, _TMC7300_DRVSTATUS_VALUE_ADDR)
 
TMCField TMC7300_LIA (_TMC7300_DRVSTATUS, _TMC7300_OLA_MASK, _TMC7300_OLA_SHIFT, _TMC7300_DRVSTATUS_VALUE_ADDR)
 
TMCField TMC7300_S2VSB (_TMC7300_DRVSTATUS, _TMC7300_S2VSB_MASK, _TMC7300_S2VSB_SHIFT, _TMC7300_DRVSTATUS_VALUE_ADDR)
 
TMCField TMC7300_S2VSA (_TMC7300_DRVSTATUS, _TMC7300_S2VSA_MASK, _TMC7300_S2VSA_SHIFT, _TMC7300_DRVSTATUS_VALUE_ADDR)
 
TMCField TMC7300_S2GB (_TMC7300_DRVSTATUS, _TMC7300_S2GB_MASK, _TMC7300_S2GB_SHIFT, _TMC7300_DRVSTATUS_VALUE_ADDR)
 
TMCField TMC7300_S2GA (_TMC7300_DRVSTATUS, _TMC7300_S2GA_MASK, _TMC7300_S2GA_SHIFT, _TMC7300_DRVSTATUS_VALUE_ADDR)
 
TMCField TMC7300_OT (_TMC7300_DRVSTATUS, _TMC7300_OT_MASK, _TMC7300_OT_SHIFT, _TMC7300_DRVSTATUS_VALUE_ADDR)
 
TMCField TMC7300_OTPW (_TMC7300_DRVSTATUS, _TMC7300_OTPW_MASK, _TMC7300_OTPW_SHIFT, _TMC7300_DRVSTATUS_VALUE_ADDR)
 

Function Documentation

◆ TMC7300_A1()

TMCField TMC7300_A1 ( _TMC7300_IOIN  ,
_TMC7300_A1_MASK  ,
_TMC7300_A1_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_A2()

TMCField TMC7300_A2 ( _TMC7300_IOIN  ,
_TMC7300_A2_MASK  ,
_TMC7300_A2_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_AD0()

TMCField TMC7300_AD0 ( _TMC7300_IOIN  ,
_TMC7300_AD0_MASK  ,
_TMC7300_AD0_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_AD1()

TMCField TMC7300_AD1 ( _TMC7300_IOIN  ,
_TMC7300_AD1_MASK  ,
_TMC7300_AD1_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_COMP_A1A2()

TMCField TMC7300_COMP_A1A2 ( _TMC7300_IOIN  ,
_TMC7300_COMP_A1A2_MASK  ,
_TMC7300_COMP_A1A2_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_COMP_B1B2()

TMCField TMC7300_COMP_B1B2 ( _TMC7300_IOIN  ,
_TMC7300_COMP_B1B2_MASK  ,
_TMC7300_COMP_B1B2_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_DIAG()

TMCField TMC7300_DIAG ( _TMC7300_IOIN  ,
_TMC7300_DIAG_MASK  ,
_TMC7300_DIAG_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_DISS2G()

TMCField TMC7300_DISS2G ( _TMC7300_CHOPCONF  ,
_TMC7300_DISS2G_MASK  ,
_TMC7300_DISS2G_SHIFT  ,
_TMC7300_CHOPCONF_VALUE_ADDR   
)

◆ TMC7300_DISS2VS()

TMCField TMC7300_DISS2VS ( _TMC7300_CHOPCONF  ,
_TMC7300_DISS2VS_MASK  ,
_TMC7300_DISS2VS_SHIFT  ,
_TMC7300_CHOPCONF_VALUE_ADDR   
)

◆ TMC7300_DRV_ERR()

TMCField TMC7300_DRV_ERR ( _TMC7300_GSTAT  ,
_TMC7300_DRV_ERR_MASK  ,
_TMC7300_DRV_ERR_SHIFT  ,
_TMC7300_GSTAT_VALUE_ADDR   
)

◆ TMC7300_EN()

TMCField TMC7300_EN ( _TMC7300_IOIN  ,
_TMC7300_EN_MASK  ,
_TMC7300_EN_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_ENABLEDRV()

TMCField TMC7300_ENABLEDRV ( _TMC7300_CHOPCONF  ,
_TMC7300_ENABLEDRV_MASK  ,
_TMC7300_ENABLEDRV_SHIFT  ,
_TMC7300_CHOPCONF_VALUE_ADDR   
)

◆ TMC7300_EXTCAP()

TMCField TMC7300_EXTCAP ( _TMC7300_GCONF  ,
_TMC7300_EXTCAP_MASK  ,
_TMC7300_EXTCAP_SHIFT  ,
_TMC7300_GCONF_VALUE_ADDR   
)

◆ TMC7300_FREEWHEEL()

TMCField TMC7300_FREEWHEEL ( _TMC7300_PWMCONF  ,
_TMC7300_FREEWHEEL_MASK  ,
_TMC7300_FREEWHEEL_SHIFT  ,
_TMC7300_PWMCONF_VALUE_ADDR   
)

◆ TMC7300_IFCNT()

TMCField TMC7300_IFCNT ( _TMC7300_IFCNT  ,
_TMC7300_IFCNT_MASK  ,
_TMC7300_IFCNT_SHIFT  ,
_TMC7300_IFCNT_VALUE_ADDR   
)

◆ TMC7300_IRUN()

TMCField TMC7300_IRUN ( _TMC7300_CURRENT_LIMIT  ,
_TMC7300_IRUN_MASK  ,
_TMC7300_IRUN_SHIFT  ,
_TMC7300_CURRENT_LIMIT_VALUE_ADDR   
)

◆ TMC7300_LIA()

TMCField TMC7300_LIA ( _TMC7300_DRVSTATUS  ,
_TMC7300_OLA_MASK  ,
_TMC7300_OLA_SHIFT  ,
_TMC7300_DRVSTATUS_VALUE_ADDR   
)

◆ TMC7300_LIB()

TMCField TMC7300_LIB ( _TMC7300_DRVSTATUS  ,
_TMC7300_OLB_MASK  ,
_TMC7300_OLB_SHIFT  ,
_TMC7300_DRVSTATUS_VALUE_ADDR   
)

◆ TMC7300_MODE_INPUT()

TMCField TMC7300_MODE_INPUT ( _TMC7300_IOIN  ,
_TMC7300_MODE_INPUT_MASK  ,
_TMC7300_MODE_INPUT_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_MOTORRUN()

TMCField TMC7300_MOTORRUN ( _TMC7300_CURRENT_LIMIT  ,
_TMC7300_MOTORRUN_MASK  ,
_TMC7300_MOTORRUN_SHIFT  ,
_TMC7300_CURRENT_LIMIT_VALUE_ADDR   
)

◆ TMC7300_NSTDBY()

TMCField TMC7300_NSTDBY ( _TMC7300_IOIN  ,
_TMC7300_NSTDBY_MASK  ,
_TMC7300_NSTDBY_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_OT()

TMCField TMC7300_OT ( _TMC7300_DRVSTATUS  ,
_TMC7300_OT_MASK  ,
_TMC7300_OT_SHIFT  ,
_TMC7300_DRVSTATUS_VALUE_ADDR   
)

◆ TMC7300_OTPW()

TMCField TMC7300_OTPW ( _TMC7300_DRVSTATUS  ,
_TMC7300_OTPW_MASK  ,
_TMC7300_OTPW_SHIFT  ,
_TMC7300_DRVSTATUS_VALUE_ADDR   
)

◆ TMC7300_PAR_MODE()

TMCField TMC7300_PAR_MODE ( _TMC7300_GCONF  ,
_TMC7300_PAR_MODE_MASK  ,
_TMC7300_PAR_MODE_SHIFT  ,
_TMC7300_GCONF_VALUE_ADDR   
)

◆ TMC7300_PWM_A()

TMCField TMC7300_PWM_A ( _TMC7300_PWM_AB  ,
_TMC7300_PWM_A_MASK  ,
_TMC7300_PWM_A_SHIFT  ,
_TMC7300_PWM_AB_VALUE_ADDR   
)

◆ TMC7300_PWM_B()

TMCField TMC7300_PWM_B ( _TMC7300_PWM_AB  ,
_TMC7300_PWM_B_MASK  ,
_TMC7300_PWM_B_SHIFT  ,
_TMC7300_PWM_AB_VALUE_ADDR   
)

◆ TMC7300_PWM_DIRECT()

TMCField TMC7300_PWM_DIRECT ( _TMC7300_GCONF  ,
_TMC7300_PWM_DIRECT_MASK  ,
_TMC7300_PWM_DIRECT_SHIFT  ,
_TMC7300_GCONF_VALUE_ADDR   
)

◆ TMC7300_PWM_FREQ()

TMCField TMC7300_PWM_FREQ ( _TMC7300_PWMCONF  ,
_TMC7300_PWM_FREQ_MASK  ,
_TMC7300_PWM_FREQ_SHIFT  ,
_TMC7300_PWMCONF_VALUE_ADDR   
)

◆ TMC7300_RESET()

TMCField TMC7300_RESET ( _TMC7300_GSTAT  ,
_TMC7300_RESET_MASK  ,
_TMC7300_RESET_SHIFT  ,
_TMC7300_GSTAT_VALUE_ADDR   
)

◆ TMC7300_S2GA()

TMCField TMC7300_S2GA ( _TMC7300_DRVSTATUS  ,
_TMC7300_S2GA_MASK  ,
_TMC7300_S2GA_SHIFT  ,
_TMC7300_DRVSTATUS_VALUE_ADDR   
)

◆ TMC7300_S2GB()

TMCField TMC7300_S2GB ( _TMC7300_DRVSTATUS  ,
_TMC7300_S2GB_MASK  ,
_TMC7300_S2GB_SHIFT  ,
_TMC7300_DRVSTATUS_VALUE_ADDR   
)

◆ TMC7300_S2VSA()

TMCField TMC7300_S2VSA ( _TMC7300_DRVSTATUS  ,
_TMC7300_S2VSA_MASK  ,
_TMC7300_S2VSA_SHIFT  ,
_TMC7300_DRVSTATUS_VALUE_ADDR   
)

◆ TMC7300_S2VSB()

TMCField TMC7300_S2VSB ( _TMC7300_DRVSTATUS  ,
_TMC7300_S2VSB_MASK  ,
_TMC7300_S2VSB_SHIFT  ,
_TMC7300_DRVSTATUS_VALUE_ADDR   
)

◆ TMC7300_SLAVECONF()

TMCField TMC7300_SLAVECONF ( _TMC7300_SLAVECONF  ,
_TMC7300_SLAVECONF_MASK  ,
_TMC7300_SLAVECONF_SHIFT  ,
_TMC7300_SLAVECONF_VALUE_ADDR   
)

◆ TMC7300_T120()

TMCField TMC7300_T120 ( _TMC7300_DRVSTATUS  ,
_TMC7300_T120_MASK  ,
_TMC7300_T120_SHIFT  ,
_TMC7300_DRVSTATUS_VALUE_ADDR   
)

◆ TMC7300_T150()

TMCField TMC7300_T150 ( _TMC7300_DRVSTATUS  ,
_TMC7300_T150_MASK  ,
_TMC7300_T150_SHIFT  ,
_TMC7300_DRVSTATUS_VALUE_ADDR   
)

◆ TMC7300_TBL()

TMCField TMC7300_TBL ( _TMC7300_CHOPCONF  ,
_TMC7300_TBL_MASK  ,
_TMC7300_TBL_SHIFT  ,
_TMC7300_CHOPCONF_VALUE_ADDR   
)

◆ TMC7300_TEST_MODE()

TMCField TMC7300_TEST_MODE ( _TMC7300_GCONF  ,
_TMC7300_TEST_MODE_MASK  ,
_TMC7300_TEST_MODE_SHIFT  ,
_TMC7300_GCONF_VALUE_ADDR   
)

◆ TMC7300_U3V5()

TMCField TMC7300_U3V5 ( _TMC7300_GSTAT  ,
_TMC7300_U3V5_MASK  ,
_TMC7300_U3V5_SHIFT  ,
_TMC7300_GSTAT_VALUE_ADDR   
)

◆ TMC7300_UART_ENABLED()

TMCField TMC7300_UART_ENABLED ( _TMC7300_IOIN  ,
_TMC7300_UART_ENABLED_MASK  ,
_TMC7300_UART_ENABLED_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_UART_INPUT()

TMCField TMC7300_UART_INPUT ( _TMC7300_IOIN  ,
_TMC7300_UART_INPUT_MASK  ,
_TMC7300_UART_INPUT_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)

◆ TMC7300_VERSION()

TMCField TMC7300_VERSION ( _TMC7300_IOIN  ,
_TMC7300_VERSION_MASK  ,
_TMC7300_VERSION_SHIFT  ,
_TMC7300_IOIN_VALUE_ADDR   
)