25.6.4.13.1 Function tcc_enable_double_buffering()
Enable TCC double buffering write.
void tcc_enable_double_buffering( struct tcc_module *const module_inst)
When double buffering write is enabled, following function will write values to buffered registers instead of effective ones (buffered):
PERB: through tcc_set_top_value()
CCBx(x is 0~3): through tcc_set_compare_value()
PATTB: through tcc_set_pattern()
Then on UPDATE condition the buffered registers are committed to regular ones to take effect.
Data direction | Parameter name | Description |
---|---|---|
[in] | module_inst |
Pointer to the TCC software instance struct |