7.1.6 UART_Port_Select

Prototype:

void FL_ICG_Setup

(

uint8_t data_reg_address,

uint8_t status_reg_address

)

Description:

This function can be called when the application has detected the active communication interface if used by the application. The communication interface can be any of the two SCI-ports (SCI1 or SCI2). When called with the proper parameters the Embedded Bootloader knows the active communication interface.

Input:

data_reg_address

the address of the active SCI port data register (SCI1 = 0x1F or SCI2 = 0x27 )

status_reg_address

the address of the active SCI port status 1 register (SCI1 = 0x1C or SCI2 = 0x24)

Output

 

None

 

Freescale Semiconductor

Embedded Bootloader Reference Manual, Rev. 0.0

7-5

Page 53
Image 53
Freescale Semiconductor 802.15.4 manual UARTPortSelect, Output None