Author Topic: [atmega 0-series] 'TCA_t {aka union TCA_union}' has no member named 'INTCTRL'  (Read 1094 times)

0 Members and 1 Guest are viewing this topic.

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Code: [Select]
'TCA_t {aka union TCA_union}' has no member named 'INTCTRL'

this comes from invoking TCA0.INTCTRL which is totally valid as a variable/register name and there is a INTCTRL element to the structure TCA. All I can assume is that there is some sort of mess here with single and split operation as there are two structure setups one for each.
 

Offline cv007

  • Frequent Contributor
  • **
  • Posts: 825
Lookup TCA_t, INTCTRL is not there, you need to use SINGLE or SPLIT-
TCA0.SINGLE.INTCTRL
TCA0.SPLIT.INTCTRL

compiler is right and the error means exactly what is says
 
The following users thanked this post: Naguissa

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
I see
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf