The invention provides a visual
programming method used for an integrated
chip. An object-oriented design idea theory is employed, when a
chip is programmed, a man-
machine conversation mode is employed, and therefore the
programmer only needs to select functions which the
chip needs to use with no need of facing a register of a
microcontroller. According to the invention, with respect to the
programming part of the integrated chip, functions and read-write data of the register are selected by means of precompiled statements, and the visual
programming method is suitable for any
embedded software development project. According to the invention, the code handwritten
workload is reduced, and the working efficiency is improved; the code compiling error rate is reduced, and even errors are avoided. The code compiling format and the register configuration method are normalized, and the
programmer only needs to determine the function of the hardware resource and does not need to pay close attention to the concrete usage method of the hardware resource and the corresponding register configuration method. The visual
programming method is only correlated to different configurations of the user, and is uncorrelated to the
programmer, and the program
readability is improved.