Enable or disable write protection of TC registers.
void tc_set_writeprotect( Tc * p_tc, uint32_t ul_enable)
Data direction | Parameter name | Description |
---|---|---|
[out] |
p_tc |
Module hardware register base address pointer |
[in] |
ul_enable |
1 to enable, 0 to disable |