Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

MC9S08SH8MRTGR Datasheet(PDF) 79 Page - Freescale Semiconductor, Inc

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

MC9S08SH8MRTGR Datasheet(HTML) 79 Page - Freescale Semiconductor, Inc

Back Button MC9S08SH8MRTGR Datasheet HTML 75Page - Freescale Semiconductor, Inc MC9S08SH8MRTGR Datasheet HTML 76Page - Freescale Semiconductor, Inc MC9S08SH8MRTGR Datasheet HTML 77Page - Freescale Semiconductor, Inc MC9S08SH8MRTGR Datasheet HTML 78Page - Freescale Semiconductor, Inc MC9S08SH8MRTGR Datasheet HTML 79Page - Freescale Semiconductor, Inc MC9S08SH8MRTGR Datasheet HTML 80Page - Freescale Semiconductor, Inc MC9S08SH8MRTGR Datasheet HTML 81Page - Freescale Semiconductor, Inc MC9S08SH8MRTGR Datasheet HTML 82Page - Freescale Semiconductor, Inc MC9S08SH8MRTGR Datasheet HTML 83Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 79 / 338 page
background image
Chapter 6 Parallel Input/Output Control
MC9S08SH8 MCU Series Data Sheet, Rev. 3
Freescale Semiconductor
79
6.4.3
Pull-up/Pull-down Resistors
The pin interrupts can be configured to use an internal pull-up/pull-down resistor using the associated I/O
port pull-up enable register. If an internal resistor is enabled, the PTxES register is used to select whether
the resistor is a pull-up (PTxESn = 0) or a pull-down (PTxESn = 1).
6.4.4
Pin Interrupt Initialization
When a pin interrupt is first enabled, it is possible to get a false interrupt flag. To prevent a false interrupt
request during pin interrupt initialization, the user should do the following:
1. Mask interrupts by clearing PTxIE in PTxSC.
2. Select the pin polarity by setting the appropriate PTxESn bits in PTxES.
3. If using internal pull-up/pull-down device, configure the associated pull enable bits in PTxPE.
4. Enable the interrupt pins by setting the appropriate PTxPSn bits in PTxPS.
5. Write to PTxACK in PTxSC to clear any false interrupts.
6. Set PTxIE in PTxSC to enable interrupts.
6.5
Pin Behavior in Stop Modes
Pin behavior following execution of a STOP instruction depends on the stop mode that is entered. An
explanation of pin behavior for the various stop modes follows:
Stop2 mode is a partial power-down mode, whereby I/O latches are maintained in their state as
before the STOP instruction was executed. CPU register status and the state of I/O registers should
be saved in RAM before the STOP instruction is executed to place the MCU in stop2 mode. Upon
recovery from stop2 mode, before accessing any I/O, the user should examine the state of the PPDF
bit in the SPMSC2 register. If the PPDF bit is 0, I/O must be initialized as if a power on reset had
occurred. If the PPDF bit is 1, I/O data previously stored in RAM, before the STOP instruction was
executed, peripherals may require being initialized and restored to their pre-stop condition. The
user must then write a 1 to the PPDACK bit in the SPMSC2 register. Access to I/O is now permitted
again in the user application program.
In stop3 mode, all I/O is maintained because internal logic circuity stays powered up. Upon
recovery, normal I/O function is available to the user.
6.6
Parallel I/O and Pin Control Registers
This section provides information about the registers associated with the parallel I/O ports. The data and
data direction registers are located in page zero of the memory map. The pull up, slew rate, drive strength,
and interrupt control registers are located in the high page section of the memory map.
Refer to tables in Chapter 4, “Memory,” for the absolute address assignments for all parallel I/O and their
pin control registers. This section refers to registers and control bits only by their names. A Freescale
Semiconductor-provided equate or header file normally is used to translate these names into the
appropriate absolute addresses.


Similar Part No. - MC9S08SH8MRTGR

ManufacturerPart #DatasheetDescription
logo
Freescale Semiconductor...
MC9S08SH8MFKR FREESCALE-MC9S08SH8MFKR Datasheet
1Mb / 341P
   MC9S08SH8 Datasheet
MC9S08SH8MPJR FREESCALE-MC9S08SH8MPJR Datasheet
1Mb / 341P
   MC9S08SH8 Datasheet
MC9S08SH8MSCR FREESCALE-MC9S08SH8MSCR Datasheet
1Mb / 341P
   MC9S08SH8 Datasheet
MC9S08SH8MTGR FREESCALE-MC9S08SH8MTGR Datasheet
1Mb / 341P
   MC9S08SH8 Datasheet
MC9S08SH8MTJR FREESCALE-MC9S08SH8MTJR Datasheet
1Mb / 341P
   MC9S08SH8 Datasheet
More results

Similar Description - MC9S08SH8MRTGR

ManufacturerPart #DatasheetDescription
logo
Freescale Semiconductor...
MC9S08DZ128 FREESCALE-MC9S08DZ128 Datasheet
4Mb / 458P
   Microcontrollers
MC9S08SG8 FREESCALE-MC9S08SG8_09 Datasheet
3Mb / 316P
   Microcontrollers
M68HC05 FREESCALE-M68HC05 Datasheet
1Mb / 128P
   Microcontrollers
M68HC08 FREESCALE-M68HC08 Datasheet
2Mb / 188P
   Microcontrollers
MC9S08QD4 FREESCALE-MC9S08QD4_08 Datasheet
2Mb / 202P
   Microcontrollers
MC68HC908QY4CDW FREESCALE-MC68HC908QY4CDW Datasheet
1Mb / 184P
   Microcontrollers
MC9S08AW16CFGE FREESCALE-MC9S08AW16CFGE Datasheet
1Mb / 324P
   Microcontrollers
MC68HC908GT16 FREESCALE-MC68HC908GT16 Datasheet
4Mb / 278P
   Microcontrollers
MC68HC908QC16 FREESCALE-MC68HC908QC16_07 Datasheet
3Mb / 274P
   Microcontrollers
MC68HC908QY4A FREESCALE-MC68HC908QY4A_07 Datasheet
2Mb / 200P
   Microcontrollers
MC68HC08AZ60A FREESCALE-MC68HC08AZ60A Datasheet
4Mb / 480P
   Microcontrollers
More results


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




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


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