Unibrain 701 Digital Camera User Manual


 
Unibrain Fire-i 501/511/601/701/702/810 Operation Manual Page 55
4.9.2. SIO Registers
Base address: F2F22000h, default baud rate is 57600
Address Name Field Bit Description
000h Serial_Mode_Reg Baud Rate
[0..7] Baud Rate Setting
Write : Set baud rate
Read : Get current baud rate
0: 300 bps 1: 600 bps
2: 1200 bps 3: 2400 bps
4: 4800 bps 5: 9600 bps
6: 19200 bps 7: 38400 bps
8: 57600 bps 9: 115200bps
10: 230400bps Other value reserved.
Char_Length [8..15] Character length setting
Write: Set data length(must not be 0)
Read : Get data length
7: 7 bits
8: 8 bits
Other values reserved.
Parity- [16..17] Parity setting
Write : Set Parity
Read : Get current parity
0: None 1 : Odd 2 : Even
Stop_bit [18..19] Stop bits
Write : Set stop bit
Read : Get current stop bit
0: 1 1: 1.5 2: 2.
- [20..23] Reserved
Buffer_Size_Inq [24..31] Buffer Size (Read Only)
This field indicates the maximum size of
receive/transmit data buffer.
If this value=1, Buffer_Status_Control,
SIO_Data_Register Char1-3 should be
ignored
004h Serial_Control_Reg RE [0] Receive enable
Read : Current status
Write : 0 : Disable 1: Enable
TE [1] Transmit enable
Read : Current status
Write : 0 : Disable 1: Enable
- [2..7] Reserved
Serial_Status_Reg TDRD [8] Transmit data buffer ready
Read only
0 : Not ready 1: Ready
- [9] Reserved
RDRD [10] Receive data buffer ready
Read only
0 : Not ready 1: Ready
- [11] Reserved
ORER [12] Receive buffer over run error
Read : Current status