Electronic Components Datasheet Search |
|
EM6640 Datasheet(PDF) 22 Page - EM Microelectronic - MARIN SA |
|
EM6640 Datasheet(HTML) 22 Page - EM Microelectronic - MARIN SA |
22 / 62 page EM6640 03/02 REV. C/446 Copyright 2002, EM Microelectronic-Marin SA 22 www.emmicroelectronic.com 6.6 PortC PortC has the same features as the PortB but instead of being used to outputs frequencies, it can be used to output Serial Write Buffer (SWB) signals. 6.6.1 Input / Output Mode Each PortC terminal can be either input or output. These modes can be set by writing the corresponding bit in the RegPCCntl control register. The RegPCData register contains the data written to the PortC terminal in output mode. To set for input (default), 0 is written to the corresponding bit of the RegPCCntl register which results in a high impedance state for the output driver. The output mode is set by writing 1 in the control register, and consequently the output terminal follows the status of the bits in the RegPCData register. The PortC terminal status can be read in any mode (read at address of RegPCData). During SLEEP and Reset mode, PC[3:0] is in high impedance state with no pulls up/down active. Except during a read phase on PortC (in active mode), all the PortC inputs are cut off (blocked). 6.6.2 Pull-up/Down For each terminal of PC[3:0] an input pull-up (metal mask MPCPU[n]) or pull-down (metal mask MPCPD[n]) resistor can be implemented per metal mask option. Per default the two metal masks are in place, so one can chose per software to have either a pull-up, a pull-down or no resistor. For Metal mask selection and available resistor values refer to chapter ‘PortC Metal Options’. Pulldown ON : MPCPD[n] must be in place , AND the bit NoPdPC[n] must be ‘0’ . Pulldown OFF : MPBPD[n] is not in place, OR if MPCPD[n] is in place NoPdPC[n] = ‘1’ cuts off the pulldown. OR seletcing NchOpDPC[n] = ‘1’ cuts off the pulldown. Pullup ON : MPCPU[n] must be in place, AND the bit NchOpDPC[n] must be ‘1’ , AND the bit PCIOCntl[n] = ‘0’ (input mode) OR if PCIOCntl[n] = ‘1’ while PCData[n] = 1. Pullup OFF : MPCPU[n] is not in place, OR if MPCPU[n] is in place NchOpDPC[n] = ‘0’ cuts off the pullup, OR if MPCPU[n] is in place and if NchOpDPC[n] = ‘1’ then PCData[n] = 0 cuts off the pullup. Never can pull-up and pull-down be active at the same time. For POWER SAVING one can switch off the PortC pull resistors between two read phases. No cross current flows in the input amplifier while the PortC is not read. The recommended order is : • switch on the pull resistor. • allow sufficient time - RC constant - for the pull resistor to drive the line to either VSS or VDD. • Read the PortC • Switch off the pull resistor Minimum time with current on the pull resistor is 4 periods of the system clock, if the RC constant is lower than 1 system clock period. Adding a NOP before reading moves the number of periods with current in the pull resistor to 6 and the maximum RC delay to 3 clock periods. |
Similar Part No. - EM6640 |
|
Similar Description - EM6640 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | 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 |