// Pulse Timer Output [ OPCODE = 0x0F ] [Timer Used] [ Pulse Length Hi ] [ Pulse Length Lo ] [ Not Used ]
case (PULSE_TMR):
TBCTL &= ~TB_CNTL_08; //Configure Timer to run up to FFFF (16 bit FRC)
switch (SerialBuffer[1])
{
case 1:
TBCCTL1 &= 0xFF1F; // Clear OUTMODx bits; 3 MSB on lower byte; Timer configured to output mode
TBCCTL1 |= TB_OUT_HIGH; //Set the output (pulse start)
TBCCTL1 |= TB_OUTMOD_RESET; //Configure the timer to reset
TBCCR1 = TBR + ((SerialBuffer[2] * 256) + SerialBuffer[3]); //Configure the pulse reset time (pulse end)
break;
}
break;
This a piece of code of evm drv8711 stepper motor , my question is wich 8 bit value must insert in the [Timer Used]??
I suppose that timer is timer B , but i dont know if must insert the address of control register timer B (TBCTL) or other value? Can please help me , i would like know the value to insert.
Thanks








