Part Number: TMS320F28069M
Dear Team,
As per the BLDC_SENSORLESS document, I am following to change the EnableFlag to 1 in watch window as shown below

Now, I am thinking to implement the external push button to make the Enable flag to 1 or 0 when it is pressed or released.
1. I need the code to implement that push button in BLDC_SENSORLESS_CODE for TMS320F28069M.
2. whether that is proper way to make the motor to run?
3.How to control the speed of the motor in this BLDC_SENSORLESS_CODE for TMS320F28069M?
4 .what parameter should i need to change to control the speed of the motor?
Please provide much information for this.
Thanks & Regards,
senthilvel.