| Electronic Components Datasheet Search |
|
AS8228 Datasheet(PDF) 54 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS8228 Datasheet(HTML) 54 Page - ams AG |
|
54 / 123 page ![]() Data Sheet AS8218 / AS8228 Revision 3.0, 31-May-06 Page 54 of 123 8.3 Programmable Multi-Purpose I/Os (MPIO) DATA REGISTERS Output Multiplexer [11:0] Input Register [11:0] Config Register Output Register [11:0] led Pulse Counter sel_drv clk_1hz Input- Multiplexer [11:0] IO0 IO11 register[x] led txd2 clk_1hz sel1_io[x] sel0_io[x] out_io[x] en_io0 out_io0 in_io0 en_io sel_pupd MCU sel_in out_mux sel_refp [11:0] UART2 rxd2 txd2 Figure 8: MPIO block diagram A total of 9 bidirectional multi-purpose I/O pins (MPIO) are provided with the AS8218 and 12 bidirectional multi- purpose I/O pins with the AS8228, which may be used for a variety of purposes. All the I/Os can be freely programmed as inputs or outputs, with the option of either a pull-up or pull-down resistor. The drive strength of the individual I/O pins may also be programmed. On start-up all the I/O pins are disabled. Furthermore, a pulse counter is available, which can be used for calibration purposes (‘comparison calibration method’: Between two LED pulses the pulses from a reference meter with much higher pulse rate are counted. The result is used to calculate the calibration factor.). MPIO Registers All the MPIO registers are listed in the table below. The individual register functions are then described in detail. Register Name Address Reset Value Notes Config MAKE_IRQ0 9500h 00h MAKE_IRQ1 9501h 00h OUT_MUX0 9502h 00h OUT_MUX1 9503h 00h |
|
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 |