Electronic Components Datasheet Search
  English  ▼

X  

M68HC05 Datasheet(PDF) 48 Page - Freescale Semiconductor, Inc

Part # M68HC05
Description  Microcontrollers
PDF  118 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

M68HC05 Datasheet(HTML) 48 Page - Freescale Semiconductor, Inc

Back Button M68HC05 Datasheet HTML 44Page - Freescale Semiconductor, Inc M68HC05 Datasheet HTML 45Page - Freescale Semiconductor, Inc M68HC05 Datasheet HTML 46Page - Freescale Semiconductor, Inc M68HC05 Datasheet HTML 47Page - Freescale Semiconductor, Inc M68HC05 Datasheet HTML 48Page - Freescale Semiconductor, Inc M68HC05 Datasheet HTML 49Page - Freescale Semiconductor, Inc M68HC05 Datasheet HTML 50Page - Freescale Semiconductor, Inc M68HC05 Datasheet HTML 51Page - Freescale Semiconductor, Inc M68HC05 Datasheet HTML 52Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 118 page
background image
Input/Output (I/O) Ports
MC68HC05C9A Advance Information Data Sheet, Rev. 4.1
48
Freescale Semiconductor
7.3 Port B
Port B is an 8-bit bidirectional port. The port B data register is at $0001 and the data direction register
(DDR) is at $0005. The contents of the port B data register are indeterminate at initial powerup and must
be initialized by user software. Reset does not affect the data registers, but clears the data direction
registers, thereby returning the ports to inputs. Writing a 1 to a DDR bit sets the corresponding port pin to
output mode. Each of the port B pins has an optional external interrupt capability that can be enabled by
programming the corresponding bit in the port B mask option register ($3FF0).
The interrupt option also enables a pullup device when the pin is configured as an input. The edge or
edge- and level-sensitivity of the IRQ pin will also pertain to the enabled port B pins. Care needs to be
taken when using port B pins that have the pullup enabled. Before switching from an output to an input,
the data should be preconditioned to a 1 to prevent an interrupt from occurring. The port B logic is shown
in Figure 7-2.
7.4 Port C
Port C is an 8-bit bidirectional port. The port C data register is at $0002 and the data direction register
(DDR) is at $0006. The contents of the port C data register are indeterminate at initial powerup and must
be initialized by user software. Reset does not affect the data registers, but clears the data direction
registers, thereby returning the ports to inputs. Writing a 1 to a DDR bit sets the corresponding port bit to
output mode. PC7 has a high current sink and source capability. Figure 7-1 is also applicable to port C.
7.5 Port D
When configured as a C9A, port D is a 7-bit bidirectional port; when configured as a C12A, port D is a
7-bit fixed input port. Four of its pins are shared with the SPI subsystem and two more are shared with
the SCI subsystem. The contents of the port D data register are indeterminate at initial powerup and must
be initialized by user software. During reset all seven bits become valid input ports because the C9A DDR
bits are cleared and the special function output drivers associated with the SCI and SPI subsystems are
disabled, thereby returning the ports to inputs. Writing a 1 to a DDR bit sets the corresponding port bit to
output mode only when configured as a C9A.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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