modules/dio-pwm/src/main/java/jdk/dio/pwm/PWMChannelConfig.java
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the Mozilla Public License Version 2.0.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package jdk.dio.pwm;
import cc.squirreljme.runtime.cldc.annotation.Api;
import cc.squirreljme.runtime.cldc.annotation.ApiDefinedDeprecated;
import cc.squirreljme.runtime.cldc.debug.Debugging;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import jdk.dio.DeviceConfig;
import jdk.dio.gpio.GPIOPin;
import jdk.dio.gpio.GPIOPinConfig;
@Api
public final class PWMChannelConfig
implements DeviceConfig<PWMChannel>, DeviceConfig.HardwareAddressing
{
@Api
public static final int ALIGN_CENTER =
0;
@Api
public static final int ALIGN_LEFT =
1;
@Api
public static final int ALIGN_RIGHT =
2;
@Api
public static final int IDLE_STATE_HIGH =
0;
@Api
public static final int IDLE_STATE_LOW =
1;
@ApiDefinedDeprecated
@Api
public PWMChannelConfig(int __a, int __b, int __c, int __d, int __e)
{
throw Debugging.todo();
}
@ApiDefinedDeprecated
@Api
public PWMChannelConfig(int __a, int __b, int __c, int __d, int __e,
GPIOPinConfig __f)
{
throw Debugging.todo();
}
@ApiDefinedDeprecated
@Api
public PWMChannelConfig(String __a, int __b, int __c, int __d, int __e)
{
throw Debugging.todo();
}
@ApiDefinedDeprecated
@Api
public PWMChannelConfig(String __a, int __b, int __c, int __d, int __e,
GPIOPinConfig __f)
{
throw Debugging.todo();
}
@Override
public boolean equals(Object __a)
{
throw Debugging.todo();
}
@Api
public int getChannelNumber()
{
throw Debugging.todo();
}
@Override
public String getControllerName()
{
throw Debugging.todo();
}
@Override
public int getControllerNumber()
{
throw Debugging.todo();
}
@Api
public int getIdleState()
{
throw Debugging.todo();
}
@ApiDefinedDeprecated
@Api
public GPIOPin getOutput()
{
throw Debugging.todo();
}
@Api
public int getOutputBufferSize()
{
throw Debugging.todo();
}
@Api
public GPIOPinConfig getOutputConfig()
{
throw Debugging.todo();
}
@Api
public int getPulseAlignment()
{
throw Debugging.todo();
}
@Api
public int getPulsePeriod()
{
throw Debugging.todo();
}
@Api
public double getScaleFactor()
{
throw Debugging.todo();
}
@Override
public int hashCode()
{
throw Debugging.todo();
}
@Override
public int serialize(OutputStream __a)
throws IOException
{
if (false)
throw new IOException();
throw Debugging.todo();
}
@Api
public static PWMChannelConfig deserialize(InputStream __a)
throws IOException
{
if (false)
throw new IOException();
throw Debugging.todo();
}
@Api
public static final class Builder
{
@Api
public Builder()
{
throw Debugging.todo();
}
@Api
public PWMChannelConfig build()
{
throw Debugging.todo();
}
@Api
public Builder setChannelNumber(int __a)
{
throw Debugging.todo();
}
@Api
public Builder setControllerName(String __a)
{
throw Debugging.todo();
}
@Api
public Builder setControllerNumber(int __a)
{
throw Debugging.todo();
}
@Api
public Builder setIdleState(int __a)
{
throw Debugging.todo();
}
@Api
public Builder setOutputBufferSize(int __a)
{
throw Debugging.todo();
}
@Api
public Builder setOutputConfig(GPIOPinConfig __a)
{
throw Debugging.todo();
}
@Api
public Builder setPulseAlignment(int __a)
{
throw Debugging.todo();
}
@Api
public Builder setPulsePeriod(int __a)
{
throw Debugging.todo();
}
@Api
public Builder setScaleFactor(double __a)
{
throw Debugging.todo();
}
}
}