Other Parts Discussed in Thread: HALCOGEN
Hi,
While reading the code generated by HALCoGen 04.06.00 after tinkering with the GCM panel, I noticed the comments for the code setting the value of CDDIS are misleading.
/**- Disable / Enable clock domain */
systemREG1->CDDIS = (uint32)((uint32)0U << 4U ) /* AVCLK 1 OFF */
| (uint32)((uint32)1U << 5U ) /* AVCLK 2 OFF */
| (uint32)((uint32)0U << 8U ) /* VCLK3 OFF */
| (uint32)((uint32)0U << 9U ) /* VCLK4 OFF */
| (uint32)((uint32)0U << 10U) /* AVCLK 3 OFF */
| (uint32)((uint32)0U << 11U); /* AVCLK 4 OFF */
Whether the clock domains are enabled (bit set to 0 - all except VCLKA2 in my example) or disabled (bit set to 1 - VCLKA2 in my example), the comments always state that the clock domain is OFF.
Regards,
Bastien Continsouzas