This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error : no memeber name 'RCGCPIO' in 'SYSCTL_Type'

Hello, I try to coding : GPIO Driver but get and error : no member name rcgcpio in sysctl_type any body can help my problem..

//PF4 GPIO SW1
//PF0 GPIO SW2
//PF1 GPIO RGB LED (Red)
//PF2 GPIO RGB LED (Blue)
//PF3 GPIO RGD LED (Green)

#include "TM4C123.h" // Device header
#include <stdint.h>


int main(void)
{
SYSCTL->RCGCPIO |= 0x20; // OB 0010 0000 : Enable Clock access to PORTA
GPIOF->DIR |=0x02; // 0000 0010 : set RED LED as output
GPIOF->DEN |=0x02; // Set Pin1 digital
GPIOF->DATA |=0x02; // Set Pin1 high
while(1)
{

}
}