Chapter 12Serial interface 0 and 1XII - 12 Operation■ Setting Transfer Bit7 to 8 bits can be set as transfer bit count. Set the bit count by the SCAnLN flag of the SCnCTR register. TheSCAnLN flag holds the former set value until it is set again.■ Setting First Transfer BitThe SCAnOD flag of the SCnCTR register can set the first transfer bit. Whether MSB first or LSB first can beselected. When the transfer bit is set to 7 bits, LSB is first.■ Transmit Bit Count and First Transfer BitIn transmission, when the transfer bit count is 7, data is stored in bp0 to 6 as shown in Figure: 12.3.1, store data inbp0 to 6. When the transfer bit is set to 7 bits, LSB is first and data is transferred “A” to “G” in order.Figure:12.3.1 Transmission Bit Count and First Transfer Bit■ Receive Bit Count and First Transfer BItIn reception, when the transfer bit count is 7, data is stored in bp0 to 6 as shown in Figure: 12.3.2. When the trans-fer bit is set to 7 bits, LSB is first, and data is transferred from “A” to “G” in order.Figure:12.3.2 Reception Bit Count and First Transfer BIt■ Edge for Output/ InputTransmission data is output in synchronization with the falling edge of the clock. Reception data is fed in synchro-nization with the rising edge of the clock.Table:12.3.2 Edge for Transmission Data Output/Reception Data InputEdge for transmission data output Edge for reception outputSCnTB7 6 5 4 3 2 1 0G F E D C B ASCnTB7 6 5 4 3 2 1 0G F E D C B A