| Electronic Components Datasheet Search |
|
ATAM894 Datasheet(PDF) 30 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATAM894 Datasheet(HTML) 30 Page - ATMEL Corporation |
|
30 / 97 page ![]() 30 4679D–4BMCU–05/05 ATAM894 6.2.5 Bi-directional Port 6 The bi-directional Port 6 is a bit-wise configurable I/O port and provides the external pins for the Timer 3. As a normal port, it performs in exactly the same way as bi-directional Port 6 (see Fig- ure 6-6 on page 29). Two additional multiplexes allow data and port direction control to be passed over to other internal modules (Timer 3). The I/O pin for the T3I line has an additional mode to generate a Timer 3-interrupt. All two Port 6 pins can be individually switched by the P6CR register. Figure 6-6 on page 29 shows the internal interfaces to bi-directional Port 6. 6.2.5.1 Port 6 Data Register (P6DAT) 6.2.5.2 Port 6 Control Register (P6CR) P6xM2, P6xM1 – Port 6x Interrupt Mode/Direction Code Table 6-4. Port 4 Control Register Auxiliary Address: '4'hex First Write Cycle Second Write Cycle Code 3 2 1 0 Function Code 3 2 1 0 Function x x 1 1 BP40 in input mode x x 1 1 BP42 in input mode x x 1 0 BP40 in output mode x x 1 0 BP42 in output mode x x 0 1 BP40 enable alternate function (SC for SSI) x x 0 x BP42 enable alternate function (T2O for Timer 2) x x 0 0 BP40 enable alternate function (falling edge interrupt input for INT3) 1 1 x x BP43 in input mode 1 1 x x BP41 in input mode 1 0 x x BP43 in output mode 1 0 x x BP41 in output mode 0 1 x x BP43 enable alternate function (SD for SSI) 0 1 x x BP41 enable alternate function (VMI for voltage monitor input) 0 0 x x BP43 enable alternate function (falling edge interrupt input for INT3) 0 0 x x BP41 enable alternate function (T2I external clock input for Timer 2) –– Primary register address: '6'hex Bit 3Bit 2 Bit 1Bit 0 P6DAT P6DAT3 - - P6DAT0 Reset value: 1xx1b Auxiliary register address: '6'hex Bit 3Bit 2Bit 1Bit 0 P6CR P63M2 P63M1 P60M2 P60M0 Reset value: 1111b Table 6-5. Port 6 Control Register Auxiliary Address: ’6’hex Write Cycle Code 3 2 1 0 Function Code 3 2 1 0 Function x x 1 1 BP60 in input mode 1 1 x x BP63 in input mode x x 1 0 BP60 in output mode 1 0 x x BP63 in output mode x x 0 x BP60 enable alternate port function (T3O for Timer 3) 0 x x x BP63 enable alternate port function (T3I for Timer 3) |
|
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 |