Blame view

build4/epsilon-master/ion/src/device/backlight.h 483 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  #ifndef ION_DEVICE_BACKLIGHT_H
  #define ION_DEVICE_BACKLIGHT_H
  
  #include <ion/backlight.h>
  
  namespace Ion {
  namespace Backlight {
  namespace Device {
  
  /*  Pin | Role              | Mode                  | Function
   * -----+-------------------+-----------------------+----------
   *  PC6 | Backlight Enable  | Output                |
   */
  
  void init();
  void shutdown();
  void suspend();
  void resume();
  void setLevel(uint8_t level);
  uint8_t level();
  
  void sendPulses(int n);
  
  }
  }
  }
  
  #endif