Description: LED flashing light-emitting control routine simple. The program is practical works a Demo application templates directly from the main () function to start the preparation. In the main () function in front of the definition of the LED' s and pin GPIO port. In the main (), the first defines a variable ulClock, call the function in clockInit () was initialized to the current system clock frequency, the face of the Treasury function in the post-SysCtlDelay () call will use the variable. LED control points go to Step 3: Call Functions SysCtlPeriEnable () to enable the GPIO module LED is located, call the function GPIOPinTypeOut () where the LED configuration for the push-pull output GPIO pin, called GPIOPinWrite () is located on the LED pin GPIO write 0 and write 1 to achieve the effect of light-emitting LED flashes.
To Search:
File list (Check if you may need any files):
【C】LED闪烁发光
................\Demo.dep
................\Demo.ewd
................\Demo.ewp
................\Demo.eww
................\LED闪烁发光.bin
................\main.c
................\startup_ewarm.c
................\systemInit.c
................\systemInit.h