main
	setup
	startup
		UART2_Init
		UART1_Init
		gsmInit
		gsm_MS_Init
		gsm_Msg_Init
		Lcd_Init
			Delay_5500us
			Delay_1us
		Lcd_Cmd
			Delay_1us
			Delay_5500us
			Delay_50us
	gsmDateTimeRead
	Lcd_Out
		Lcd_Cmd
			Delay_1us
			Delay_5500us
			Delay_50us
		Lcd_Chr_CP
			Lcd_Cmd
				Delay_1us
				Delay_5500us
				Delay_50us
	UART_Set_Active
	gsmPoll
		gsmUartRxBuffClear
			gsmUartRxSync
		gsmUartTx
			UART_TX_Idle
				____DoIFC
			UART_Write
				____DoIFC
		____DoIFC
		gsmSetStateNext
			gsmCheckStateDivert
		gsmUartRxLineClear
		gsmUART_Write_Text
		gsmUART_Write
		gsmSetStateTimeout
		gsmCancelStateTimeout
		memcmp
		gsmExtractDateTime
			strchr
			StrToByte
				StrToNum
					Mul_16x16_U
		gsmEvent
			__CA2AW
			UART2_Write_Text
				UART2_Write
			gsmMissedCall
				strcpy
				Lcd_Cmd
					Delay_1us
					Delay_5500us
					Delay_50us
				Lcd_Out
					Lcd_Cmd
						Delay_1us
						Delay_5500us
						Delay_50us
					Lcd_Chr_CP
						Lcd_Cmd
							Delay_1us
							Delay_5500us
							Delay_50us
			gsmMsgRcvd
				__CA2AW
				strcpy
				gsmMsgJustArrived
				gsmDateTimeWrite
				lcase
				strncmp
				generateStatusReport
					strcpy
					ByteToBin
				msgSend
					UART2_Write_Text
						UART2_Write
					gsmMsgSendPending
					gsmMsgSendCancel
					gsmMsgSend
				Lcd_Cmd
					Delay_1us
					Delay_5500us
					Delay_50us
				Lcd_Out
					Lcd_Cmd
						Delay_1us
						Delay_5500us
						Delay_50us
					Lcd_Chr_CP
						Lcd_Cmd
							Delay_1us
							Delay_5500us
							Delay_50us
				strlen
			RTCC_GenerateString
				RTCC_GenerateDateStringDMY
					RTCC_GenerateDigits
						Div_8x8_U
				RTCC_GenerateTimeString
					RTCC_GenerateDigits
						Div_8x8_U
			UART2_Write
		gsmSetStateWaitOK
			gsmSetStateNext
				gsmCheckStateDivert
			gsmSetStateTimeout
			gsmUartRxLineClear
		gsmUartRxLineProcessed
			gsmUartRxSync
		gsmRTCC_GenerateDigits
			Div_8x8_U
		strcpy
		gsmSetStateDelay
			gsmSetStateNext
				gsmCheckStateDivert
		isnum
		gsmSetStateCmdOK
			gsmSetStateNext
				gsmCheckStateDivert
		gsmCheckCancelPending
		strcmp
		gsmMsgPending
		gsmCheckStateDivert
		gsmExtractCallerId
			strcpyTillChar
	strcpy
	msgSend
		UART2_Write_Text
			UART2_Write
		gsmMsgSendPending
		gsmMsgSendCancel
		gsmMsgSend
	gsmPowerSetOnOff
interrupt
	gsm1msPing
		UART_Data_Ready
			____DoIFC
		gsmUartRx
			UART_Read
				____DoIFC
			gsmUartRxLineReceived
