User's Manual
77
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
3. Mic Input Gain
A microphone preamplier which adds extra 24dB to input gain, is controlled by S-Register 415.
The microphone amplier is enabled by ATS415=1 and disabled by ATS415=0. Refer to Table 3.43.
The rst amplier in Figure 3.28 represents the microphone preamplier and the second amplier
represents the analogue component of the programmable audio input gain (refer to Table 3.40).
Figure3.28:ADCAnalogueAmplierBlockDiagram
4. LED Control
The module provides two dedicated output pins for LEDs (LED0, LED1). The following modes are
supported: LED_OFF, LED_ON, LED_PWM and LED_PULSE.
In LED_PWM mode, the parameters “Duty Cycle” an “PWM Period” can be specied via S-Registers.
This enables either to dim the brightness of an LED (PWM Period=0) or to specify blinking with dened
on-time in a dened period (PWM Period > blinking visible for the eye).
In LED_PULSE mode, the brightness of an LED is modulated. Modulation speed is dened by parameter
“Pulse Rate” and maximum brightness is dened by parameter “Duty Cycle”.
Task AT-Command / SRegister Comment
Set LED 0 mode S335 [0..3], default=0 Mode:
0 = LED_OFF
1 = LED_ON
2 = LED_PWM
3 = LED_PULSE
Set LED 1 mode S340 [0..3], default=0
Set LED 0 Duty Cycle S336 [0..4095], default = 2048 referenced if LED mode =
LED_PWM or LED_PULSE
Set LED 1 Duty Cycle S341 [0..4095], default = 2048
Set LED 0 PWM Period S337 [0..15], default = 0 referenced if LED mode =
LED_PWM
Set LED 1 PWM Period S342 [0..15], default = 0
Set LED 0 Pulse Rate S338 [0..15], default = 0 referenced if LED mode =
LED_PULSE
Set LED 1 Pulse Rate S343 [0..15], default = 0
Table 3.42: LED S-Registers
5. Hardware Units - S Registers
Table 3.43 below gives an overview on S Registers for hardware units except GPIO. For GPIO Registers
please refer to Table 3.45.
AT COMMAND SET
REFERENCE