Renesas M30245 Series User Manual page 128

16-bit single-chip microcomputer
Hide thumbs Also See for M30245 Series:
Table of Contents

Advertisement

M30245 Group
/***** Serial Sound Interface activation routine for 16 bits *******************************************/
#ifdef OUT_Q_BIT_NO_16
ssi1mr0 = 0x01;
ssi1mr0 = 0xf1;
ssi1mr1 = 0x21;
ssi1mr0 = 0xf7;
#endif
/***** Serial Sound Interface activation routine for 24 bits ******************************************/
#ifdef OUT_Q_BIT_NO_24
ssi1mr0 = 0x01;
ssi1mr0 = 0xd1;
ssi1mr1 = 0x21;
ssi1mr0 = 0xd7;
#endif
/***** Serial Sound Interface activation routine for 32 bits *******************************************/
#ifdef OUT_Q_BIT_NO_32
ssi1mr0 = 0x01;
ssi1mr0 = 0xc1;
ssi1mr1 = 0x21;
ssi1mr0 = 0xc7;
#endif
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
(Continued from the previous page.)
page 117 of 354
/* SSIEN = 1 */
/* 16bit / MSB justified */
/* SCK neg, WS neg
/* 16bit / Tx enable, Rx enable MSB justified */
/* SSIEN = 1 */
/* 24bit / MSB justified */
/* SCK neg, WS neg
/* 24bit / Tx enable, Rx enable MSB justified */
/* SSIEN = 1 */
/* 32bit / MSB justified */
/* SCK neg, WS neg
/* 32bit / Tx enable, Rx enable MSB justified */
2. Serial sound interface
MSB first normal */
MSB first normal */
MSB first normal */

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM20c series

Table of Contents