| Electronic Components Datasheet Search |
|
SH7136 Datasheet(PDF) 11 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7136 Datasheet(HTML) 11 Page - Renesas Technology Corp |
|
11 / 22 page ![]() SH7136/SH7137 Group SCI Clock Synchronous Simultaneous Transmit and Receive of Serial Data and DTC Data Transfer REJ06B0890-0100/Rev.1.00 July 2009 Page 11 of 22 2.3 Configuration of the Sample Program 2.3.1 Description of Functions Table 5 lists the modules used in the reference program. Table 5 Functions Used Function Name Label Description Main main () Makes initial settings for each module. Makes initial settings for the data transfer controller (DTC) and serial communication interface (SCI). Enables SCI simultaneous transmit and receive operation. Module standby setting stbcr_init () Cancels module standby settings (SCI ch0, DTC). DTC initial setting dtc_init() Makes DTC initial settings for SCI (ch0) transmit and SCI (ch0) receive. RFC initial setting pfc_init () Makes pin function controller (PFC) initial settings. Sets SCI-related pins to function as serial pins. RXI0 interrupt int_sci_rxi() SCI (ch0) receive data full (RDRF) interrupt (RXI). Generated when DTC data transfer ends. TXI0 interrupt int_sci_txi() SCI (ch0) transmit data empty (TDRE) interrupt (TXI). Generated when DTC data transfer ends. ERI0 interrupt int_sci_eri() Receive error (ORER) interrupt (ERI). Processing when an overrun error occurs. 2.3.2 Variables Usage Table 6 lists the variables used in the reference program. Table 6 Variables Usage Label Name Description Name of Employing Module Rxi_data[32] Array for storing SCI receive data Txi_data[32] Array for storing SCI transmit data main () dtc_init() DTC_RXI0 Structure variable for storing DTC transfer information settings for SCI receive. Allocated in on-chip RAM. dtc_init() DTC_TXI0 Structure variable for storing DTC transfer information settings for SCI transmit. Allocated in on-chip RAM. *Dtc_Vect_rxi0 Pointer variable for storing the start address of the DTC transfer information (structure variable DTC_RXI0). Allocated at the DTC vector table address (on-chip RAM) corresponding to DTC activation source RXI_0. dtc_init() *Dtc_vect_txi0 Pointer variable for storing the start address of the DTC transfer information (structure variable DTC_TXI0). Allocated at the DTC vector table address (on-chip RAM) corresponding to DTC activation source TXI_0. |
|
|
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 |