| Electronic Components Datasheet Search |
|
73S1210F-68IM/F/P Datasheet(PDF) 49 Page - Teridian Semiconductor Corporation |
|
|
|||||||||||||||||||||||||||||
73S1210F-68IM/F/P Datasheet(HTML) 49 Page - Teridian Semiconductor Corporation |
|
49 / 126 page ![]() DS_1210F_001 73S1210F Data Sheet Rev. 1.4 49 1.7.9 User (USR) Ports The 73S1210F includes 8 pins of general purpose digital I/O (GPIO). On reset or power-up, all USR pins are inputs until they are configured for the desired direction. The pins are configured and controlled by the USR70 and UDIR70 SFRs. Each pin declared as USR can be configured independently as an input or output with the bits of the UDIR70 register. Table 47 lists the direction registers and configurability associated with each group of USR pins. USR pins 0 to 7 are multiple use pins that can be used for general purpose I/O, external interrupts and timer control. Table 48 shows the configuration for a USR pin through its associated bit in its UDIR register. Values read from and written into the GPIO ports use the data registers USR70. Note: After reset, all USR pins are defaulted as inputs and pulled up to VDD until any write to the corresponding UDIR register is performed. This insures all USR pins are set to a known value until set by the firmware. Unused USR pins can be set for output if unused and unconnected to prevent them from floating. Alternatively, unused USR pins can be set for input and tied to ground or VDD. Table 47: Direction Registers and Internal Resources for DIO Pin Groups USR Pin Group Type Direction Register Name Direction Register (SFR) Location Data Register Name Data Register (SFR) Location USR_0…USR_7 Multi-use UDIR70 0x91 [7:0] USR70 0x90 [7:0] Table 48: UDIR Control Bit UDIR Bit 0 1 USR Pin Function output input Four XRAM SFR registers (USRIntTCtl0, USRIntTCtl1, USRIntTCtl2, and USRIntTCtl3) control the use of the USR [7:0] pins. Each of the USR [7:0] pins can be configured as GPIO or individually be assigned an internal resource such as an interrupt or a timer/counter control. Each of the four registers contains two 3-bit configuration words named UxIS (where x corresponds to the USR pin). The control resources selectable for the USR pins are listed in Table 50 through Table 53. If more than one input is connected to the same resource, the resources are combined using a logical OR. Table 49: Selectable Controls Using the UxIS Bits UxIS Value Resource Selected for USRx Pin 0 None 1 None 2 T0 (counter0 gate/clock) 3 T1 (counter1 gate/clock) 4 Interrupt 0 rising edge/high level on USRx 5 Interrupt 1 rising edge/high level on USRx 6 Interrupt 0 falling edge/low level on USRx 7 Interrupt 1 falling edge/low level on USRx Note: x denotes the corresponding USR pin. Interrupt edge or level control is assigned in the IT0 and IT1 bits in the TCON 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 |