| Electronic Components Datasheet Search |
|
SH7269 Datasheet(PDF) 9 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7269 Datasheet(HTML) 9 Page - Renesas Technology Corp |
|
9 / 26 page ![]() SH7268/SH7269 Group Transmission/Reception of Renesas SPDIF Interface R01AN1188EJ0100 Rev.1.00 Page 9 of 23 Jul. 27, 2012 6.2 File Composition Table 6.1 lists the Files Used in the Sample Code. Files not generated by the integrated development environment should not be listed in this table. Table 6.1 Files Used in the Sample Code File Name Outline Remarks main.c Main program io_rspdif.c Initialization of the RSPDIF io_rspdif.h Interface definition of the io_rspdif.c io_dmac.c Initialization of the DMAC io_dmac.h Interface definition of the io_dmac.c 6.3 Constants Table 6.2 lists the Constants Used in the Sample Code. Table 6.2 Constants Used in the Sample Code Constant Name Setting Value Contents USER_NUMOF_BLOCK 1024 User buffer size (by the block) SPDIF_OK 0 Return value when the processing was successful SPDIF_ERR -1 Return value when the processing was failed SPDIF_PASS_BACK 1 Setting value of the RSPDIF pass back function (1: allowed) SPDIF_NUMOF_FRM 192 Number of frames in one block SPDIF_NUMOF_CH 2 Number of channels (left channel, right channel) SPDIF_AUDIO_BUFSZ 192 * 2 Buffer size for the audio data (by the longword) SPDIF_USER_BUFSZ (192 * 2) / 32 Buffer size for the user information (by the longword) SPDIF_CH1 0 Channel 1 (left channel) index SPDIF_CH2 1 Channel 2 (right channel) index SPDIF_STATUS_CH1 H'10100000 Setting value of channel 1 status to be transmitted SPDIF_STATUS_CH2 H'10200000 Setting value of channel 2 status to be transmitted SPDIF_UBO_BIT H'00002000 UBO bit of the status register SPDIF_UBU_BIT H'00001000 UBU bit of the status register SPDIF_CE_BIT H'00000800 CE bit of the status register SPDIF_PARE_BIT H'00000400 PARE bit of the status register SPDIF_PREE_BIT H'00000200 PREE bit of the status register SPDIF_CSE_BIT H'00000100 CSE bit of the status register SPDIF_ABO_BIT H'00000080 ABO bit of the status register SPDIF_ABU_BIT H'00000040 ABU bit of the status register SPDIF_RUIR_BIT H'00000020 RUIR bit of the status register SPDIF_TUIR_BIT H'00000010 TUIR bit of the status register SPDIF_CSRX_BIT H'00000008 CSRX bit of the status register SPDIF_CBRX_BIT H'00000004 CBRX bit of the status register SPDIF_CSTX_BIT H'00000002 CSTX bit of the status register SPDIF_CBTX_BIT H'00000001 CBTX bit of the status register |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |