MC9RS08KA2_8
 
CPU Component MC9RS08KA2_8
Freescale RS08 family : MC9RS08KA2 in 8 pin package
Component Level: High
Methods:
(Methods are user-callable functions/subroutines intended for the component functions control. Please see the Embedded Components page for more information.)
  • SetHighSpeed - Sets the high speed mode. The method is enabled only if Low speed mode or Slow speed mode are enabled in the component as well.

      ANSIC prototype: void SetHighSpeed(void)

  • SetLowSpeed - Sets the low speed mode. The method is enabled only if Low speed mode is enabled in the component.

      ANSIC prototype: void SetLowSpeed(void)

  • SetSlowSpeed - Sets the slow speed mode. The method is enabled only if Slow speed mode is enabled in the component.

      ANSIC prototype: void SetSlowSpeed(void)

  • GetSpeedMode - Gets current speed mode. The method is enabled only if more than one speed mode is enabled in the component.

      ANSIC prototype: byte GetSpeedMode(void)
    • Return value:byte - Speed mode (HIGH_SPEED, LOW_SPEED, SLOW_SPEED)

  • GetResetSource - Gets the reset source of the last reset (value of SRS register).

      ANSIC prototype: byte GetResetSource(void)
    • Return value:byte - Reset source register.

  • SetWaitMode - Sets the low power mode - Wait mode.
    For more information about the wait mode, see the documentation of this CPU.
    Release from the Wait mode: Reset or interrupt

      ANSIC prototype: void SetWaitMode(void)

  • SetStopMode - Sets the low power mode - Stop mode. This method is available only if the STOP instruction is enabled (see STOP instruction enabled property).
    For more information about the stop mode, see the documentation of this CPU.

      ANSIC prototype: void SetStopMode(void)

  • GetIdentification - This method returns the System identification register which contains identification number and revision of the chip.

      ANSIC prototype: word GetIdentification(void)
    • Return value:word - System identification register.

  • Delay100US - This method realizes software delay. The length of delay is at least 100 microsecond multiply input parameter us100. As the delay implementation is not based on real clock, the delay time may be increased by interrupt service routines processed during the delay. The method is independent on selected speed mode.

      ANSIC prototype: void Delay100US(word us100)
    • us100:word - Number of 100 us delay repetitions.


Note: Some methods can be implemented as macros.