Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1126 | savelij | 1 | ifndef __reg72345inc ; avoid multiple inclusion |
2 | __reg72345inc equ 1 |
||
3 | |||
4 | save |
||
5 | listing off ; no listing over this file |
||
6 | |||
7 | ;**************************************************************************** |
||
8 | ;* * |
||
9 | ;* AS 1.42 - File REG72345.INC * |
||
10 | ;* * |
||
11 | ;* contains SFR and Bit Definitions for ST72345 * |
||
12 | ;* * |
||
13 | ;* Source: ST72345/45 Data Sheet, Rev. 6, July 2012 * |
||
14 | ;* * |
||
15 | ;**************************************************************************** |
||
16 | |||
17 | include "reg72344.inc" |
||
18 | |||
19 | ;---------------------------------------------------------------------------- |
||
20 | ; I2C3SNS |
||
21 | |||
22 | I2C3SNS_12_vect label $ffec ; I2C3SNS Address 1&2 Interrupt |
||
23 | I2C3SNS_3_vect label $ffee ; I2C3SNS Address 3 Interrupt |
||
24 | |||
25 | I2C3SCR1 label $0060 ; I2C3SNS Control Register 1 |
||
26 | PL bfield I2C3SCR1,6,2 ; Page length configuration |
||
27 | ITER bit I2C3SCR1,4 ; BERR / NACK Interrupt enable |
||
28 | ITRE3 bit I2C3SCR1,3 ; Interrupt enable on read from Slave 3 |
||
29 | ITRE12 bit I2C3SCR1,2 ; Interrupt enable on read from Slave 1 or 2 |
||
30 | ITWE3 bit I2C3SCR1,1 ; Interrupt enable on write to Slave 3 |
||
31 | ITWE12 bit I2C3SCR1,0 ; Interrupt enable on write to Slave 1 or 2 |
||
32 | I2C3SCR2 label $0061 ; I2C3SNS Control Register 2 |
||
33 | WP2 bit I2C3SCR2,4 ; Write Protect enable for Slave 2 |
||
34 | WP1 bit I2C3SCR2,3 ; Write Protect enable for Slave 1 |
||
35 | I2C3_PE bit I2C3SCR2,2 ; Peripheral enable |
||
36 | BusyW bit I2C3SCR2,1 ; Busy on Write to RAM Buffer |
||
37 | B_W bit I2C3SCR2,0 ; Byte / Word Mode |
||
38 | I2C3SSR label $0062 ; I2C3SNS Status Register |
||
39 | I2C3SBCR label $0063 ; I2C3SNS Byte Count Register |
||
40 | I2C3SSAR1 label $0064 ; I2C3SNS Slave Address 1 Register |
||
41 | I2C3SCAR1 label $0065 ; I2C3SNS Current Address 1 Register |
||
42 | I2C3SSAR2 label $0066 ; I2C3SNS Slave Address 2 Register |
||
43 | I2C3SCAR2 label $0067 ; I2C3SNS Current Address 2 Register |
||
44 | I2C3SSAR3 label $0068 ; I2C3SNS Slave Address 3 Register |
||
45 | I2C3SCAR3 label $0069 ; I2C3SNS Current Address 3 Register |
||
46 | |||
47 | restore |
||
48 | |||
49 | endif ; __reg72345inc |