pwm_start ... ok ... how pwm_stop?

Analog_Pin

pwm_start ... ok ... how pwm_stop?

Postby Analog_Pin » Thu Feb 05, 2015 12:26 pm

Hi

have we a api or other call to stop pwm what was start?
api says, pwm_start
api says in i2c_master_start and i2c_master_stop
but i have not read a
pwm_stop, can u teach me in this,
txs
Ann

costaud
Posts: 138
Joined: Fri Oct 24, 2014 7:40 pm

Re: pwm_start ... ok ... how pwm_stop?

Postby costaud » Wed Feb 11, 2015 8:57 pm

Analog_Pin wrote:Hi

have we a api or other call to stop pwm what was start?
api says, pwm_start
api says in i2c_master_start and i2c_master_stop
but i have not read a
pwm_stop, can u teach me in this,
txs
Ann


To stop the pwm, we can just clear the FRC1 timer_enable bit.

RTC_CLR_REG_MASK(FRC1_CTRL_ADDRESS, FRC1_ENABLE_TIMER);

Who is online

Users browsing this forum: No registered users and 1 guest