User manual
V850E2/MN4 A/D Converter Control
R01AN0923EJ0100 Rev.1.00 Page 23 of 26
Feb 13, 2012
4.3 Function Specifications
This section describes the specifications for the functions that are used by the sample program.
4.3.1 Main Processing (main.c)
[Function Name] main ()
[Function] Calls necessary initialization functions before entering an infinite loop.
[Arguments] None
[Return Value] None
[Startup Method] Enters the main function after hardware initialization.
[SFRs Used] None
[Calling Function] None
[Variables] None
[File Name] main.c
[Notes] None
4.3.2 Software Initialization Processing (initial.c)
[Function Name] port_initial()
[Function] Sets up ports and their mode.
[Arguments] None
[Return Value] None
[Startup Method] Call
[SFRs Used] PFCE13, PFC13, PMC13, PM13
[Calling Function] main()
[Variables] None
[File Name] initial.c
[Notes] None
[Function Name] cg_initial()
[Function] Initializes the special clock frequency control register.
[Arguments] None
[Return Value] None
[Startup Method] Call
[SFRs Used] SFRCTL3
[Calling Function] main()
[Variables] None
[File Name] initial.c
[Notes] None