25.6.4.13.2 Function tcc_disable_double_buffering()
Disable TCC double buffering Write.
void tcc_disable_double_buffering( struct tcc_module *const module_inst)
When double buffering write is disabled, following function will write values to effective registers (not buffered):
PER: through tcc_set_top_value()
CCx(x is 0~3): through tcc_set_compare_value()
PATT: through tcc_set_pattern()
Note: This function does not lock double buffer update, which means on next UPDATE condition the last written buffered values will be committed to take effect. Invoke tcc_lock_double_buffer_update() before this function to disable double buffering update, if this change is not expected.
Data direction | Parameter name | Description |
---|---|---|
[in] | module_inst |
Pointer to the TCC software instance struct |