7.1.19 Function tc_set_writeprotect()

Enable or disable write protection of TC registers.

void tc_set_writeprotect( Tc * p_tc, uint32_t ul_enable)

Note: This function is not available on SAM3U devices.
Table 7-20. Parameters
Data directionParameter nameDescription

[out]

p_tc

Module hardware register base address pointer

[in]

ul_enable

1 to enable, 0 to disable