Method | Description | |
---|---|---|
I2CDeviceEx ( ushort i2CAddress, int clockRateKhz = 100, int timeout = 1000 ) : Microsoft.SPOT.Hardware |
�R���X�g���N�^�[
|
Method | Description | |
---|---|---|
RegRead ( byte reg ) : byte |
�w��A�h���X�̃f�[�^��擾����
|
|
RegReads ( byte reg, byte &data ) : void |
�w��A�h���X��N�_�Ƃ��ĕ����o�C�g�f�[�^��擾����
|
|
RegWrite ( byte reg, byte val ) : void |
�w��A�h���X�Ƀf�[�^��ݒ肷��
|
|
RegWriteMask ( byte reg, byte val, byte mask ) : void |
�w��A�h���X�̎w��r�b�g�ɒl���������
|
public I2CDeviceEx ( ushort i2CAddress, int clockRateKhz = 100, int timeout = 1000 ) : Microsoft.SPOT.Hardware | ||
i2CAddress | ushort | I2C�A�h���X |
clockRateKhz | int | �f�[�^�]���̃N���b�N���[�g |
timeout | int | I2C�ʐM���s���̃^�C���A�E�g�l |
return | Microsoft.SPOT.Hardware |
protected RegRead ( byte reg ) : byte | ||
reg | byte | �f�[�^�擾�Ώۂ̃A�h���X |
return | byte |
protected RegReads ( byte reg, byte &data ) : void | ||
reg | byte | �f�[�^�擾�Ώۂ̐擪�A�h���X |
data | byte | �擾�f�[�^ |
return | void |
protected RegWrite ( byte reg, byte val ) : void | ||
reg | byte | �f�[�^�ݒ�Ώۂ̃A�h���X |
val | byte | �ݒ肷��f�[�^ |
return | void |
protected RegWriteMask ( byte reg, byte val, byte mask ) : void | ||
reg | byte | �w��r�b�g��܂ރo�C�g�̈�̃A�h���X |
val | byte | �ݒ肷��f�[�^ |
mask | byte | �ݒ肷��f�[�^��������ނ��߂̃r�b�g�}�X�N |
return | void |