time ConfigChannel function.
Parameters:
__HANDLE__: TIM handle.
__CHANNEL__: : TIM Channels to be
configured. This parameter can be one of
the following values:
TIM_CHANNEL_1: TIM Channel 1
selected
TIM_CHANNEL_2: TIM Channel 2
selected
TIM_CHANNEL_3: TIM Channel 3
selected
TIM_CHANNEL_4: TIM Channel 4
selected
__COMPARE__: specifies the Capture
Compare register new value.
Return value:
None
Description:
Gets the TIM Capture Compare Register
value on runtime.
Parameters:
__HANDLE__: TIM handle.
__CHANNEL__: : TIM Channel associated
with the capture compare register This
parameter can be one of the following
values:
TIM_CHANNEL_1: get
capture/compare 1 register value
TIM_CHANNEL_2: get
capture/compare 2 register value
TIM_CHANNEL_3: get
capture/compare 3 register value
TIM_CHANNEL_4: get
capture/compare 4 register value
Return value:
16-bit: or 32-bit value of the
capture/compare register (TIMx_CCRy)
Description:
Sets the TIM Counter Register value on
runtime.
Parameters:
__HANDLE__: TIM handle.
__COUNTER__: specifies the Counter
register new value.
Return value: