# APCI-1710 Kernel Samples

This directory contains kernel-level sample programs for the APCI-1710 driver.

## SSI Samples

### ksample_ssi_01
Initialize and read 1 SSI value:
- `i_APCI1710_InitSSI`
- `i_APCI1710_Read1SSIValue`

### ksample_ssi_02
Initialize and read 1 SSI raw values:
- `i_APCI1710_InitSSIRawData`
- `i_APCI1710_Read1SSIRawDataValue`

### ksample_ssi_03
Initialize and read all SSI values:
- `i_APCI1710_InitSSI`
- `i_APCI1710_ReadAllSSIValue`

### ksample_ssi_04
SSI digital input:
- `i_APCI1710_ReadSSI1DigitalInput`
- `i_APCI1710_ReadSSIAllDigitalInput`

### ksample_ssi_05
SSI digital output:
- `i_APCI1710_SetSSIDigitalOutputOn`
- `i_APCI1710_SetSSIDigitalOutputOff`

### ksample_ssi_06
Initialize and read 1 SSI value with split functions:
- `i_APCI1710_InitSSI`
- `i_APCI1710_StartSSIAcquisition`
- `i_APCI1710_GetSSIAcquisitionStatus`
- `i_APCI1710_GetSSIValue`

## Impulse Counter Samples

### ksample_imp_cpt_01
Initialize and read 1 impulse counter value:
- `i_APCI1710_InitPulseEncoder`
- `i_APCI1710_EnablePulseEncoder`
- `i_APCI1710_DisablePulseEncoder`
- `i_APCI1710_ReadPulseEncoderStatus`
- `i_APCI1710_ReadPulseEncoderValue`

## Incremental Counter Samples

### ksample_inc_cpt_01
Initialize and read 1 incremental counter:
- `i_APCI1710_InitCounter`
- `i_APCI1710_ClearCounterValue`
- `i_APCI1710_Read32BitCounterValue`

## Chronometer Samples

### ksample_chronos_01
Initialize chronometer with the selected mode. Read chronometer:
- `i_APCI1710_InitChrono`
- `i_APCI1710_EnableChrono`
- `i_APCI1710_ReadChronoValue`
- `i_APCI1710_DisableChrono`

### ksample_chronos_02
Initialize chronometer with the selected mode. Read chronometer with interrupt:
- `i_APCI1710_SetBoardIntRoutine`
- `i_APCI1710_InitChrono`
- `i_APCI1710_EnableChrono`
- `i_APCI1710_DisableChrono`
- `i_APCI1710_ResetBoardIntRoutine`

## PWM Samples

### ksample_PWM_01
Initialize PWM with the selected mode:
- `i_APCI1710_InitPWM`
- `i_APCI1710_EnablePWM`
- `i_APCI1710_GetPWMStatus`
- `i_APCI1710_DisablePWM`

### ksample_PWM_02
Initialize PWM with the selected mode. PWM with interrupt:
- `i_APCI1710_SetBoardIntRoutine`
- `i_APCI1710_InitPWM`
- `i_APCI1710_EnablePWM`
- `i_APCI1710_DisablePWM`
- `i_APCI1710_EnableDisablePWMDigitalOutputManualSetting`
- `i_APCI1710_SetPWMDigitalOutputOn`
- `i_APCI1710_SetPWMDigitalOutputOff`
- `i_APCI1710_ResetBoardIntRoutine`
