Panasonic MN101C77C Cell Phone User Manual


 
Chapter 12 Serial Interface 3
Operation
XII - 26
(15) Start serial transmission.
Transmission data
SC3TRB (x'3FAB')
(15) Set the transmission data to the serial
transmit/receive shift register SC3TRB. The
internal clock is generated to start
transmission/reception.
After the communication is finished, the serial 3
interrupt SC3IRQ is generated.
Note : In the above settings, (6) to (9), (10) to (11),can be set at once.
If the communication is only for reception, set the SC3SBOS of the SC3MD1 register to "0" to
select port. The SBO3 pin can be used as a general port.
If the communication is with 2 channels connected the SBO3/SBI3 pins, the SBO3 pin
inputs/outputs serial data. The port direction control register P5DIR switches I/O.
At reception, set the SC3SBIS of the SC3MD1 register to "1" to select "input serial data". The
SBI3 pin can be used as a general port.
It is possible to shut down the communication. When the communication should be stopped
by force, set the SC3SBOS and the SC3SBIS of the SC3MD1 register to "0".
Setup for each flag should be done in order. The activation of communication should be
operated after all control registers (table 12-2-1 : except SC3TRB) are set.
The SC3CKS register should set the transfer rate of the transfer clock to "under 2.5 MHz".
If the communication is only for transmission, the data that input by setting the SC3SBIS of
the SC3MD1 register to "0" should be fixed to "1". The SBI3 pin can be used as a general
port.
DescriptionSetup Procedure