Specifications

V850E2/MN4 UARTJ Control
R01AN0926EJ0100 Rev.1.00 Page 24 of 30
Feb 07, 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] flag_transmit_over, flag_receive_over
[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] PFCE4, PFC4, PMC4, PM4, 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