/* SPDX-License-Identifier: GPL-2.0 */
/****************************************************************************/
/*
* mcfslt . h - - ColdFire internal Slice ( SLT ) timer support defines .
*
* ( C ) Copyright 2004 , Greg Ungerer ( gerg @ snapgear . com )
* ( C ) Copyright 2009 , Philippe De Muyter ( phdm @ macqel . be )
*/
/****************************************************************************/
#ifndef mcfslt_h
#define mcfslt_h
/****************************************************************************/
/*
* Define the SLT timer register set addresses .
*/
#define MCFSLT_STCNT 0 x00 /* Terminal count */
#define MCFSLT_SCR 0 x04 /* Control */
#define MCFSLT_SCNT 0 x08 /* Current count */
#define MCFSLT_SSR 0 x0C /* Status */
/*
* Bit definitions for the SCR control register .
*/
#define MCFSLT_SCR_RUN 0 x04000000 /* Run mode (continuous) */
#define MCFSLT_SCR_IEN 0 x02000000 /* Interrupt enable */
#define MCFSLT_SCR_TEN 0 x01000000 /* Timer enable */
/*
* Bit definitions for the SSR status register .
*/
#define MCFSLT_SSR_BE 0 x02000000 /* Bus error condition */
#define MCFSLT_SSR_TE 0 x01000000 /* Timeout condition */
/****************************************************************************/
#endif /* mcfslt_h */
Messung V0.5 in Prozent C=95 H=91 G=92
¤ Dauer der Verarbeitung: 0.3 Sekunden
¤
*© Formatika GbR, Deutschland