Freescale Semiconductor Inc.
    Regional Technical Application Center

 

Main Page | Directories | File List | File Members

SBC_driver.c File Reference

Copyright (c) 2007 Freescale Semiconductor Freescale Confidential Proprietary

Functions for basic SBC (MC33742) handling. More...

#include "M9S12XF512.h"
#include "typedefs.h"
#include "SPI_driver.h"
#include "SBC_driver.h"

Functions

void vfnSBC_Write (UINT8 u8TXByte)
 Write SBC register.
UINT8 u8SBC_Read (UINT8 u8RegByte)
 Read SBC register.
UINT8 u8SBC_StandbyMode (void)
 Sets the SBC in standby mode with default configuration values.
void vfnSBC_DebugMode (void)
 Sets the SBC in Debug-Standby mode with default configuration values.
void vfnSBC_ClearWatchdog (void)
 Resets the SBC watchdog.


Detailed Description

Copyright (c) 2007 Freescale Semiconductor Freescale Confidential Proprietary

Functions for basic SBC (MC33742) handling.

Author:
Freescale Semiconductor

Guadalajara Applications Laboratory RTAC Americas

Jaime Orozco

Version:
1.0
Date:
Feb/16/2007

Function Documentation

UINT8 u8SBC_Read UINT8  u8RegByte  ) 
 

Read SBC register.

Author:
Jaime Orozco
Parameters:
u8TXByte,: Register to be accessed
Returns:
Data byte returned by SBC

UINT8 u8SBC_StandbyMode void   ) 
 

Sets the SBC in standby mode with default configuration values.

Author:
Jaime Orozco
Parameters:
void 
Returns:
1 if communication error found, 0 if initialization was successful

void vfnSBC_ClearWatchdog void   ) 
 

Resets the SBC watchdog.

Author:
Jaime Orozco
Parameters:
void 
Returns:
void

void vfnSBC_DebugMode void   ) 
 

Sets the SBC in Debug-Standby mode with default configuration values.

Author:
Jaime Orozco
Parameters:
void 
Returns:
void

void vfnSBC_Write UINT8  u8TXByte  ) 
 

Write SBC register.

Author:
Jaime Orozco
Parameters:
u8TXByte,: Register to be accessed + data
Returns:
void