I am very new to the tensy36 board. I am trying to access CPU-registers directly.
Some code really works well. For example:
shows the right value. But there are other registers where I run into problems
Example:
So the qustion is: Why is DAC0_DAT0H not known while DAC0_DAT0L is known?
What is the problem with DAC0_DAT0L =0x12 ; Is there an access-violation or similar?
If so how can I overcome that problem?
Some code really works well. For example:
Code:
// show data direction including PIN13=LED pin
reg=GPIOC_PDDR ; Serial.printf("GPIOC_PDDR =%08XH\n",reg) ;
Example:
Code:
// reg=DAC0_DAT0H ; Error: DAC0_DAT0H was not declared in this scope
DAC0_DAT0L =0x12 ; Error: register is known but program seems to crash there (never reaches the folliwng line
Serial.println("Hello World 4");
So the qustion is: Why is DAC0_DAT0H not known while DAC0_DAT0L is known?
What is the problem with DAC0_DAT0L =0x12 ; Is there an access-violation or similar?
If so how can I overcome that problem?