STM8L15x Standard Peripherals Drivers
|
RI_Registers_Bits_Definition
Define Documentation
#define RI_ASCR1_AS0 ((uint8_t)0x01) |
Analog switch AS0 control
Definition at line 1585 of file stm8l15x.h.
#define RI_ASCR1_AS1 ((uint8_t)0x02) |
Analog switch AS1 control
Definition at line 1586 of file stm8l15x.h.
#define RI_ASCR1_AS2 ((uint8_t)0x04) |
Analog switch AS2 control
Definition at line 1587 of file stm8l15x.h.
#define RI_ASCR1_AS3 ((uint8_t)0x08) |
Analog switch AS3 control
Definition at line 1588 of file stm8l15x.h.
#define RI_ASCR1_AS4 ((uint8_t)0x10) |
Analog switch AS4 control
Definition at line 1589 of file stm8l15x.h.
#define RI_ASCR1_AS5 ((uint8_t)0x20) |
Analog switch AS5 control
Definition at line 1590 of file stm8l15x.h.
#define RI_ASCR1_AS6 ((uint8_t)0x40) |
Analog switch AS6 control
Definition at line 1591 of file stm8l15x.h.
#define RI_ASCR1_AS7 ((uint8_t)0x80) |
Analog switch AS7 control
Definition at line 1592 of file stm8l15x.h.
#define RI_ASCR2_AS10 ((uint8_t)0x04) |
Analog switch AS10 control
Definition at line 1596 of file stm8l15x.h.
#define RI_ASCR2_AS11 ((uint8_t)0x08) |
Analog switch AS11 control
Definition at line 1597 of file stm8l15x.h.
#define RI_ASCR2_AS14 ((uint8_t)0x40) |
Analog switch AS14 control
Definition at line 1598 of file stm8l15x.h.
#define RI_ASCR2_AS8 ((uint8_t)0x01) |
Analog switch AS8 control
Definition at line 1594 of file stm8l15x.h.
#define RI_ASCR2_AS9 ((uint8_t)0x02) |
Analog switch AS9 control
Definition at line 1595 of file stm8l15x.h.
#define RI_ICR1_IC2CS ((uint8_t)0x1F) |
TIM1 Input Capture 2 I/O selection mask
Definition at line 1495 of file stm8l15x.h.
#define RI_ICR2_IC3CS ((uint8_t)0x1F) |
TIM1 Input Capture 3 I/O selection mask
Definition at line 1497 of file stm8l15x.h.
#define RI_IOCMR1_CH10M ((uint8_t)0x08) |
Channel 10 I/O control mode
Definition at line 1529 of file stm8l15x.h.
#define RI_IOCMR1_CH13M ((uint8_t)0x10) |
Channel 13 I/O control mode
Definition at line 1530 of file stm8l15x.h.
#define RI_IOCMR1_CH16M ((uint8_t)0x20) |
Channel 16 I/O control mode
Definition at line 1531 of file stm8l15x.h.
#define RI_IOCMR1_CH19M ((uint8_t)0x40) |
Channel 19 I/O control mode
Definition at line 1532 of file stm8l15x.h.
#define RI_IOCMR1_CH1M ((uint8_t)0x01) |
Channel 1 I/O control mode
Definition at line 1526 of file stm8l15x.h.
#define RI_IOCMR1_CH22M ((uint8_t)0x80) |
Channel 22 I/O control mode
Definition at line 1533 of file stm8l15x.h.
#define RI_IOCMR1_CH4M ((uint8_t)0x02) |
Channel 4 I/O control mode
Definition at line 1527 of file stm8l15x.h.
#define RI_IOCMR1_CH7M ((uint8_t)0x04) |
Channel 7 I/O control mode
Definition at line 1528 of file stm8l15x.h.
#define RI_IOCMR2_CH11M ((uint8_t)0x08) |
Channel 11 I/O control mode
Definition at line 1538 of file stm8l15x.h.
#define RI_IOCMR2_CH14M ((uint8_t)0x10) |
Channel 14 I/O control mode
Definition at line 1539 of file stm8l15x.h.
#define RI_IOCMR2_CH17M ((uint8_t)0x20) |
Channel 17 I/O control mode
Definition at line 1540 of file stm8l15x.h.
#define RI_IOCMR2_CH20M ((uint8_t)0x40) |
Channel 20 I/O control mode
Definition at line 1541 of file stm8l15x.h.
#define RI_IOCMR2_CH23M ((uint8_t)0x80) |
Channel 23 I/O control mode
Definition at line 1542 of file stm8l15x.h.
#define RI_IOCMR2_CH2M ((uint8_t)0x01) |
Channel 2 I/O control mode
Definition at line 1535 of file stm8l15x.h.
#define RI_IOCMR2_CH5M ((uint8_t)0x02) |
Channel 5 I/O control mode
Definition at line 1536 of file stm8l15x.h.
#define RI_IOCMR2_CH8M ((uint8_t)0x04) |
Channel 8 I/O control mode
Definition at line 1537 of file stm8l15x.h.
#define RI_IOCMR3_CH12M ((uint8_t)0x08) |
Channel 12 I/O control mode
Definition at line 1547 of file stm8l15x.h.
#define RI_IOCMR3_CH15M ((uint8_t)0x10) |
Channel 15 I/O control mode
Definition at line 1548 of file stm8l15x.h.
#define RI_IOCMR3_CH18M ((uint8_t)0x20) |
Channel 18 I/O control mode
Definition at line 1549 of file stm8l15x.h.
#define RI_IOCMR3_CH21M ((uint8_t)0x40) |
Channel 21 I/O control mode
Definition at line 1550 of file stm8l15x.h.
#define RI_IOCMR3_CH24M ((uint8_t)0x80) |
Channel 24 I/O control mode
Definition at line 1551 of file stm8l15x.h.
#define RI_IOCMR3_CH3M ((uint8_t)0x01) |
Channel 3 I/O control mode
Definition at line 1544 of file stm8l15x.h.
#define RI_IOCMR3_CH6M ((uint8_t)0x02) |
Channel 6 I/O control mode
Definition at line 1545 of file stm8l15x.h.
#define RI_IOCMR3_CH9M ((uint8_t)0x04) |
Channel 9 I/O control mode
Definition at line 1546 of file stm8l15x.h.
#define RI_IOGCR_IOM1 ((uint8_t)0x03) |
I/O mode 1
Definition at line 1580 of file stm8l15x.h.
#define RI_IOGCR_IOM2 ((uint8_t)0x0C) |
I/O mode 2
Definition at line 1581 of file stm8l15x.h.
#define RI_IOGCR_IOM3 ((uint8_t)0x30) |
I/O mode 3
Definition at line 1582 of file stm8l15x.h.
#define RI_IOGCR_IOM4 ((uint8_t)0xC0) |
I/O mode 4
Definition at line 1583 of file stm8l15x.h.
#define RI_IOIR1_CH10I ((uint8_t)0x08) |
Channel 10 I/O pin input value
Definition at line 1502 of file stm8l15x.h.
#define RI_IOIR1_CH13I ((uint8_t)0x10) |
Channel 13 I/O pin input value
Definition at line 1503 of file stm8l15x.h.
#define RI_IOIR1_CH16I ((uint8_t)0x20) |
Channel 16 I/O pin input value
Definition at line 1504 of file stm8l15x.h.
#define RI_IOIR1_CH19I ((uint8_t)0x40) |
Channel 19 I/O pin input value
Definition at line 1505 of file stm8l15x.h.
#define RI_IOIR1_CH1I ((uint8_t)0x01) |
Channel 1 I/O pin input value
Definition at line 1499 of file stm8l15x.h.
#define RI_IOIR1_CH22I ((uint8_t)0x80) |
Channel 22 I/O pin input value
Definition at line 1506 of file stm8l15x.h.
#define RI_IOIR1_CH4I ((uint8_t)0x02) |
Channel 4 I/O pin input value
Definition at line 1500 of file stm8l15x.h.
#define RI_IOIR1_CH7I ((uint8_t)0x04) |
Channel 7 I/O pin input value
Definition at line 1501 of file stm8l15x.h.
#define RI_IOIR2_CH11I ((uint8_t)0x08) |
Channel 11 I/O pin input value
Definition at line 1511 of file stm8l15x.h.
#define RI_IOIR2_CH14I ((uint8_t)0x10) |
Channel 14 I/O pin input value
Definition at line 1512 of file stm8l15x.h.
#define RI_IOIR2_CH17I ((uint8_t)0x20) |
Channel 17 I/O pin input value
Definition at line 1513 of file stm8l15x.h.
#define RI_IOIR2_CH20I ((uint8_t)0x40) |
Channel 20 I/O pin input value
Definition at line 1514 of file stm8l15x.h.
#define RI_IOIR2_CH23I ((uint8_t)0x80) |
Channel 23 I/O pin input value
Definition at line 1515 of file stm8l15x.h.
#define RI_IOIR2_CH2I ((uint8_t)0x01) |
Channel 2 I/O pin input value
Definition at line 1508 of file stm8l15x.h.
#define RI_IOIR2_CH5I ((uint8_t)0x02) |
Channel 5 I/O pin input value
Definition at line 1509 of file stm8l15x.h.
#define RI_IOIR2_CH8I ((uint8_t)0x04) |
Channel 8 I/O pin input value
Definition at line 1510 of file stm8l15x.h.
#define RI_IOIR3_CH12I ((uint8_t)0x08) |
Channel 12 I/O pin input value
Definition at line 1520 of file stm8l15x.h.
#define RI_IOIR3_CH15I ((uint8_t)0x10) |
Channel 15 I/O pin input value
Definition at line 1521 of file stm8l15x.h.
#define RI_IOIR3_CH18I ((uint8_t)0x20) |
Channel 18 I/O pin input value
Definition at line 1522 of file stm8l15x.h.
#define RI_IOIR3_CH21I ((uint8_t)0x40) |
Channel 21 I/O pin input value
Definition at line 1523 of file stm8l15x.h.
#define RI_IOIR3_CH24I ((uint8_t)0x80) |
Channel 24 I/O pin input value
Definition at line 1524 of file stm8l15x.h.
#define RI_IOIR3_CH3I ((uint8_t)0x01) |
Channel 3 I/O pin input value
Definition at line 1517 of file stm8l15x.h.
#define RI_IOIR3_CH6I ((uint8_t)0x02) |
Channel 6 I/O pin input value
Definition at line 1518 of file stm8l15x.h.
#define RI_IOIR3_CH9I ((uint8_t)0x04) |
Channel 9 I/O pin input value
Definition at line 1519 of file stm8l15x.h.
#define RI_IOSR1_CH10E ((uint8_t)0x08) |
Channel 10 I/O switch control
Definition at line 1556 of file stm8l15x.h.
#define RI_IOSR1_CH13E ((uint8_t)0x10) |
Channel 13 I/O switch control
Definition at line 1557 of file stm8l15x.h.
#define RI_IOSR1_CH16E ((uint8_t)0x20) |
Channel 16 I/O switch control
Definition at line 1558 of file stm8l15x.h.
#define RI_IOSR1_CH19E ((uint8_t)0x40) |
Channel 19 I/O switch control
Definition at line 1559 of file stm8l15x.h.
#define RI_IOSR1_CH1E ((uint8_t)0x01) |
Channel 1 I/O switch control
Definition at line 1553 of file stm8l15x.h.
#define RI_IOSR1_CH22E ((uint8_t)0x80) |
Channel 22 I/O switch control
Definition at line 1560 of file stm8l15x.h.
#define RI_IOSR1_CH4E ((uint8_t)0x02) |
Channel 4 I/O switch control
Definition at line 1554 of file stm8l15x.h.
#define RI_IOSR1_CH7E ((uint8_t)0x04) |
Channel 7 I/O switch control
Definition at line 1555 of file stm8l15x.h.
#define RI_IOSR2_CH11E ((uint8_t)0x08) |
Channel 11 I/O switch control
Definition at line 1565 of file stm8l15x.h.
#define RI_IOSR2_CH14E ((uint8_t)0x10) |
Channel 14 I/O switch control
Definition at line 1566 of file stm8l15x.h.
#define RI_IOSR2_CH17E ((uint8_t)0x20) |
Channel 17 I/O switch control
Definition at line 1567 of file stm8l15x.h.
#define RI_IOSR2_CH20E ((uint8_t)0x40) |
Channel 20 I/O switch control
Definition at line 1568 of file stm8l15x.h.
#define RI_IOSR2_CH23E ((uint8_t)0x80) |
Channel 23 I/O switch control
Definition at line 1569 of file stm8l15x.h.
#define RI_IOSR2_CH2E ((uint8_t)0x01) |
Channel 2 I/O switch control
Definition at line 1562 of file stm8l15x.h.
#define RI_IOSR2_CH5E ((uint8_t)0x02) |
Channel 5 I/O switch control
Definition at line 1563 of file stm8l15x.h.
#define RI_IOSR2_CH8E ((uint8_t)0x04) |
Channel 8 I/O switch control
Definition at line 1564 of file stm8l15x.h.
#define RI_IOSR3_CH12E ((uint8_t)0x08) |
Channel 12 I/O switch control
Definition at line 1574 of file stm8l15x.h.
#define RI_IOSR3_CH15E ((uint8_t)0x10) |
Channel 15 I/O switch control
Definition at line 1575 of file stm8l15x.h.
#define RI_IOSR3_CH18E ((uint8_t)0x20) |
Channel 18 I/O switch control
Definition at line 1576 of file stm8l15x.h.
#define RI_IOSR3_CH21E ((uint8_t)0x40) |
Channel 21 I/O switch control
Definition at line 1577 of file stm8l15x.h.
#define RI_IOSR3_CH24E ((uint8_t)0x80) |
Channel 24 I/O switch control
Definition at line 1578 of file stm8l15x.h.
#define RI_IOSR3_CH3E ((uint8_t)0x01) |
Channel 3 I/O switch control
Definition at line 1571 of file stm8l15x.h.
#define RI_IOSR3_CH6E ((uint8_t)0x02) |
Channel 6 I/O switch control
Definition at line 1572 of file stm8l15x.h.
#define RI_IOSR3_CH9E ((uint8_t)0x04) |
Channel 9 I/O switch control
Definition at line 1573 of file stm8l15x.h.
#define RI_IOSR4_CH26E ((uint8_t)0x02) |
Channel 26 I/O switch control
Definition at line 1606 of file stm8l15x.h.
#define RI_IOSR4_CH27E ((uint8_t)0x40) |
Channel 27 I/O switch control
Definition at line 1607 of file stm8l15x.h.
#define RI_IOSR4_CH28E ((uint8_t)0x80) |
Channel 28 I/O switch control
Definition at line 1608 of file stm8l15x.h.
#define RI_IOSR4_CH29E ((uint8_t)0x01) |
Channel 29 I/O switch control
Definition at line 1605 of file stm8l15x.h.
#define RI_RCR_10KPD ((uint8_t)0x04) |
10K pull-down resistor Mask.
Definition at line 1601 of file stm8l15x.h.
#define RI_RCR_10KPU ((uint8_t)0x01) |
10K pull-up resistor Mask.
Definition at line 1603 of file stm8l15x.h.
#define RI_RCR_400KPD ((uint8_t)0x08) |
400K pull-down resistor Mask.
Definition at line 1600 of file stm8l15x.h.
#define RI_RCR_400KPU ((uint8_t)0x02) |
400K pull-up resistor Mask.
Definition at line 1602 of file stm8l15x.h.