i am trying to use timer A - TCA0 in Atmega 4809 uC.
I am trying to program the CTRLA and CTRLB registers that control Timer A - TCA0.
the compiler throws error saying these registers are not declared...help me pls, maybe the registers are declared with another name....
the compiler returns the following errors... snap shot below:
"Arduino: 1.8.13 (Windows 10), Board: "Arduino Nano Every, None (ATMEGA4809)"
......hkker1.ino: In function 'void loop()':
TimerEVsysChkker1:226:30: error: 'TCA_t {aka union TCA_union}' has no member named 'CTRLA'
monitor_clk_perr = (TCA0.CTRLA) ; // 0x11 means decimal value 17, DIV BY 6 PRE-SCALER.
^~~~~
TimerEVsysChkker1:230:30: error: 'TCA_t {aka union TCA_union}' has no member named 'CTRLB'
monitor_clk_perr = (TCA0.CTRLB) ; // 0x11 means decimal value 17, DIV BY 6 PRE-SCALER.
^~~~~
exit status 1
'TCA_t {aka union TCA_union}' has no member named 'CTRLA'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.