Methods |
Brief description |
ConfigureButtons |
Configures the pushbuttons to generate interrupts when pressed.
|
ConfigureLeds |
Configures LEDs #1 and #2 (cleared by default).
|
ConfigurePit |
Configure the periodic interval timer to generate an interrupt every millisecond.
|
ConfigureTc |
Configure Timer Counter 0 to generate an interrupt every 250ms.
|
ISR_Bp1 |
Interrupt handler for pushbutton#1. Starts or stops LED#1.
|
ISR_Bp2 |
Interrupt handler for pushbutton#2. Starts or stops LED#2 and TC0.
|
ISR_Pit |
Handler for PIT interrupt. Increments the timestamp counter.
|

ISR_Tc0 |
Interrupt handler for TC0 interrupt. Toggles the state of LED#2.
Variants |
Brief description |
(void) |
Interrupt handler for TC0.
|
(void) |
Interrupt handler for TC0 interrupt. Toggles the state of LED#2.
|
|

main |
Application entry point.
Variants |
Brief description |
(void) |
main function
|
(void) |
Tests the At45 connected to the board by performing several command on each of its pages.
|
(void) |
Displays a menu to let the user either change the clock configuration of the device, enable/disable options (i.e.
|
(void) |
Default main() function.
|
(void) |
Default main() function.
|
(void) |
Default main() function.
|
(void) |
Default main() function.
|
(void) |
Default main() function.
|
(void) |
Tests the EFC peripheral features.
|
(void) |
main function
|
(void) |
main function
|
(void) |
Outputs a PWM on LED1 & LED2 to makes it fade in and out.
|
(void) |
Initializes the RTT, displays the current time and allows the user to perform several actions: clear the timer, set an alarm, etc.
|
(void) |
Main function.
|
(void) |
Initializes the serial flash and performs several tests on it.
|
(void) |
Main function.
|
(void) |
Application entry point.
|
(void) |
Application entry point.
|
(void) |
Initializes the CCID driver and runs it.
|
(void) |
Initializes drivers and start the USB <-> Serial bridge.
|
(void) |
Initializes drivers and start the USB composite device.
|
(void) |
Initializes drivers and start the USB composite device.
|
(void) |
Initializes drivers and start the USB composite device.
|
(void) |
Initializes the system, connects the USB and waits indefinitely.
|
(void) |
Initializes the system and then monitors buttons, sending the corresponding character when one is pressed.
|
(void) |
Initializes the system and then monitors buttons, sending the corresponding character when one is pressed.
|
(void) |
Initializes the system and then monitors buttons, sending the corresponding character when one is pressed.
|
(void) |
Initializes the Mass Storage driver and runs it.
|
|
Wait |
Waits for the given number of milliseconds (using the timestamp generated by the PIT).
|
Defines |
|
DEBOUNCE_TIME |
Delay for pushbutton debouncing (in milliseconds).
|
PIT_PERIOD |
PIT period value in µseconds.
|
Attributes |
|
pinPB1 |
Pushbutton #1 pin instance.
|
pinPB2 |
Pushbutton #1 pin instance.
|
pLedStates |
Indicates the current state (on or off) for each LED.
|
timestamp |
Global timestamp in milliseconds since start of application.
|