| Electronic Components Datasheet Search |
|
TMS370 Datasheet(PDF) 18 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TMS370 Datasheet(HTML) 18 Page - Texas Instruments |
|
18 / 43 page ![]() TMS370Cx32 8-BIT MICROCONTROLLER SPNS015C – FEBRUARY 1990 – REVISED FEBRUARY 1997 18 POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443 digital port control registers Peripheral file frame 2 contains the digital I/O pin configuration and control registers. Table 11 shows the specific addresses, registers, and control bits within this peripheral file frame. Table 12 shows the port configuration register setup. Table 11. Peripheral File Frame 2: Digital Port-Control Registers PF BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 P020 Reserved APORT1 P021 Port A Control Register 2 (must be 0) APORT2 P022 Port A Data ADATA P023 Port A Direction ADIR P024 to P02B Reserved P02C Port D Control Register 1 (must be 0) — Port D Control Register 1 (must be 0) — — — DPORT1 P02D Port D Control Register 2 (must be 0)† — Port D Control Register 2 (must be 0)† — — — DPORT2 P02E Port D Data — Port D Data — — — DDATA P02F Port D Direction — Port D Direction — — — DDIR † To configure pin D3 as SYSCLK, set port D control register 2 = 08h. Table 12. Port Configuration Register Setup PORT PIN abcd 00q1 abcd 00y0 A 0 – 7 Data out q Data In y D 3, 4, 6, 7 Data out q Data In y a = Port x Control Register 1 b = Port x Control Register 2 c = Data d = Direction programmable acquisition and control timer (PACT) module Traditionally, timers in microcontrollers provide limited capture and compare functions consuming significant CPU processing power, leading to inaccurate timings due to interrupt latencies. The programmable acquisition and control timer (PACT8) acts as a coprocessor combining configurable capture and compare features, within a flexible dual-port RAM, able to run real-time tasks with little or no CPU intervention. The PACT structure allows concatenation of tasks, thus enabling the CPU to perform data manipulation while the PACT module both captures and outputs real-time-related information. Since all the PACT control information is held within the dual-port RAM, the CPU can access these parameters quickly. To use the PACT, the user must set up three distinct areas of memory. The first is the dual-port RAM, which contains the capture area, the commands, and the timer definitions. The second is the peripheral frame. The third is an area near the end of the program memory which holds the interrupt vectors of PACT. |
|
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 |